Compartilhar via


CSid::GetPSID_IDENTIFIER_AUTHORITY

Returns a pointer to the SID_IDENTIFIER_AUTHORITY structure.

const SID_IDENTIFIER_AUTHORITY * GetPSID_IDENTIFIER_AUTHORITY( ) const throw();

Return Value

If the method succeeds, it returns the address of the SID_IDENTIFIER_AUTHORITY structure. If it fails, the return value is undefined. Failure may occur if the CSid object is not valid, in which case the CSid::IsValid method returns false. The function GetLastError can be called for extended error information.

Note

Under debug builds the function will cause an ASSERT if the CSid object is not valid.

Requirements

Header: atlsecurity.h

See Also

Reference

CSid Class

CSid::GetSubAuthority