Freigeben über


CSid::GetSubAuthorityCount

Returns the subauthority count.

UCHAR GetSubAuthorityCount( ) const throw( );

Return Value

If the method succeeds, the return value is the subauthority count.

If the method fails, the return value is undefined. The method fails if the CSid object is invalid. To get extended error information, call GetLastError.

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