IsWellKnownSid function
The IsWellKnownSid function compares a SID to a well-known SID and returns TRUE if they match.
Syntax
BOOL WINAPI IsWellKnownSid( _In_ PSID pSid, _In_ WELL_KNOWN_SID_TYPE WellKnownSidType );
Parameters
- pSid [in]
-
A pointer to the SID to test.
- WellKnownSidType [in]
-
Member of the WELL_KNOWN_SID_TYPE enumeration to compare with the SID at pSid.
Return value
Returns TRUE if the SID at pSid matches the well-known SID indicated by WellKnownSidType.
Otherwise, returns FALSE.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Show: