GetSidIdentifierAuthority

  PSID_IDENTIFIER_AUTHORITY GetSidIdentifierAuthority(Sid)    
  PSID Sid;    

The GetSidIdentifierAuthority function returns the address of an SID's IdentifierAuthority field.

Parameters

Sid

Pointer to the SID whose IdentifierAuthority field address the function will return.

Return Value

If the function is successful, the return value is the address of the specified SID's IdentifierAuthority field.

If the function fails, the return value is undefined. The function will fail if the SID pointed to by Sid is invalid. Use the GetLastError function to obtain extended error information.

See Also

CopySid, EqualSid, GetLengthSid, InitializeSid, IsValidSid, GetSidLengthRequired, GetSidSubAuthority, GetSidSubAuthorityCount