GetSidIdentifierAuthority  9URNCN 

The GetSidIdentifierAuthority function returns the address of the SID_IDENTIFIER_AUTHORITYHLSMZI structure in a specified security identifier (SID).

PSID_IDENTIFIER_AUTHORITY GetSidIdentifierAuthority(

    PSID pSid

// address of SID to query

   );

 

 

Parameters

pSid

Points to the SID structure for which the address of the SID_IDENTIFIER_AUTHORITYHLSMZI structure is returned.

 

Return Values

If the function succeeds, the return value is the address of the SID_IDENTIFIER_AUTHORITY structure for the specified SIDCLJI72 structure.

If the function fails, the return value is undefined. The function fails if the SID structure pointed to by the pSid parameter is invalid. To get extended error information, call GetLastError11C2VS7.

See Also

GetLengthSid, GetSidLengthRequired, GetSidSubAuthority, GetSidSubAuthorityCount, IsValidSid, SID, SID_IDENTIFIER_AUTHORITY