CTokenPrivileges Class
This class is a wrapper for the TOKEN_PRIVILEGES structure.
class CTokenPrivileges
Заметки
An access token is an object that describes the security context of a process or thread and is allocated to each user logged onto a Windows NT or Windows 2000 system.
The access token is used to describe the various security privileges granted to each user. A privilege consists of a 64-bit number called a locally unique identifier (LUID) and a descriptor string.
The CTokenPrivileges class is a wrapper for the TOKEN_PRIVILEGES structure and contains 0 or more privileges. Privileges can be added, deleted, or queried using the supplied class methods.
For an introduction to the access control model in Windows, see Access Control in the Windows SDK.
Требования
Header: atlsecurity.h