GetSidSubAuthorityCount  8RBEQI 

The GetSidSubAuthorityCount function returns the address of the field in a SIDCLJI72 structure containing the subauthority count. A SID is a security identifier.

PUCHAR GetSidSubAuthorityCount(

    PSID pSid

// address of security identifier to query

   );

 

 

Parameters

pSid

Points to the SID structure from which a pointer to the subauthority count is returned.

 

Return Values

If the function succeeds, the return value is a pointer to the subauthority count for the specified SID structure.

If the function fails, the return value is undefined. The function fails if the specified SID structure is invalid. To get extended error information, call GetLastError11C2VS7.

See Also

GetLengthSid, GetSidIdentifierAuthority, GetSidLengthRequired, GetSidSubAuthority, IsValidSid, SID