共用方式為


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.

注意

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

Requirements

Header: atlsecurity.h

See Also

Concepts

CSid Class

CSid Members

CSid::GetSubAuthority