IsValidSid
The IsValidSid
function validates a SID
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