Click or drag to resize
Xcalibur Systems LLC Logo

TokenAccess Enumeration

An application cannot change the access control list of an object unless the application has the rights to do so. These rights are controlled by a security descriptor in the access token for the object. For more information about security, see Access Control Model.

Access Rights for Access-Token Objects


Namespace: Xcalibur.NativeMethods.V2.Security
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[FlagsAttribute]
public enum TokenAccess
Members
Member nameValueDescription
TokenAssignPrimary1 Required to attach a primary token to a process. The privilege is also required to accomplish this task.
TokenDuplicate2 Required to duplicate an access token.
TokenImpersonate4 Required to attach an impersonation access token to a process.
TokenQuery8 Required to query an access token.
TokenQuerySource16 Required to query the source of an access token.
TokenAdjustPrivileges32 Required to enable or disable the privileges in an access token.
TokenAdjustGroups64 Required to adjust the attributes of the groups in an access token.
TokenAdjustDefault128 Required to change the default owner, primary group, or DACL of an access token.
TokenAdjustSessionId256 Required to adjust the session ID of an access token. The privilege is required.
TokenExecute131,076 Combines and .
TokenRead131,080 Combines and .
TokenWrite131,296 Combines , , , and .
TokenAllAccess983,551 Combines all possible access rights for a token.
See Also