Share via


CTokenPrivileges::GetLength

Returns the length of the CTokenPrivileges object.

UINT GetLength( ) const throw( );

Return Value

Returns the number of bytes required to hold a TOKEN_PRIVILEGES structure represented by the CTokenPrivileges object, including all of the privilege entries it contains.

Requirements

Header: atlsecurity.h

See Also

Reference

CTokenPrivileges Class

CTokenPrivileges::GetCount