|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| No
| Import Library
| advapi32.lib
| Header File
| winbase.h
| Unicode
| No
| Platform Notes
| None
|
|
|
IsValidSid
The IsValidSid function validates a SID structure by verifying that the revision number is within a known range and
that the number of subauthorities is less than the maximum. A SID is a security
identifier.
BOOL IsValidSid(
PSID pSid
| // address of SID to query
| );
|
|
Parameters
pSid
Points to the SID structure to validate. This must be a non-NULL value.
Return Values
If the SID structure is valid, the return value is nonzero.
If the SID structure is not valid, the return value is zero. To get extended error
information, call GetLastError.
Remarks
If pSid is NULL, the application will fail with an access violation.
See Also
GetLengthSid, GetSidIdentifierAuthority, GetSidLengthRequired, GetSidSubAuthority, GetSidSubAuthorityCount, SID
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|