Group: Security - Library: advapi32
How to enumerate sessions and processes on a specified terminal server
BOOL IsWellKnownSid(
PSID pSid,
WELL_KNOWN_SID_TYPE WellKnownSidType
); DECLARE INTEGER IsWellKnownSid IN Advapi32;
INTEGER pSid,;
INTEGER WellKnownSidType pSid [in] Pointer to the SID to test.
WellKnownSidType [in] Member of the WELL_KNOWN_SID_TYPE enumeration to compare with the SID at pSid.
Returns TRUE if the SID at pSid matches the well known SID indicated by WellKnownSidType.
The WELL_KNOWN_SID_TYPE enumeration type is a list of commonly used security identifiers (SIDs).
Dec.29, 2006: members from 0 to 60.
See also: CreateWellKnownSid.
Home