Partager via


CTokenPrivileges::CTokenPrivileges

The constructor.

CTokenPrivileges( ) throw( ); 
CTokenPrivileges( 
   const CTokenPrivileges & rhs  
) throw(...); 
CTokenPrivileges( 
   const TOKEN_PRIVILEGES & rPrivileges 
) throw(...);

Parameters

  • rhs
    The CTokenPrivileges object to assign to the new object.

  • rPrivileges
    The TOKEN_PRIVILEGES structure to assign to the new CTokenPrivileges object.

Remarks

The CTokenPrivileges object can optionally be created using a TOKEN_PRIVILEGES structure or a previously defined CTokenPrivileges object.

Requirements

Header: atlsecurity.h

See Also

Reference

CTokenPrivileges Class

CTokenPrivileges::~CTokenPrivileges