![Xcalibur Systems LLC Logo](../icons/logo.png) |
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.SecurityAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax[FlagsAttribute]
public enum TokenAccess
<FlagsAttribute>
Public Enumeration TokenAccess
[FlagsAttribute]
public enum class TokenAccess
[<FlagsAttribute>]
type TokenAccess
MembersMember name | Value | Description |
---|
TokenAssignPrimary | 1 |
Required to attach a primary token to a process. The
privilege is also required to
accomplish this task.
|
TokenDuplicate | 2 |
Required to duplicate an access token.
|
TokenImpersonate | 4 |
Required to attach an impersonation access token to a process.
|
TokenQuery | 8 |
Required to query an access token.
|
TokenQuerySource | 16 |
Required to query the source of an access token.
|
TokenAdjustPrivileges | 32 |
Required to enable or disable the privileges in an access token.
|
TokenAdjustGroups | 64 |
Required to adjust the attributes of the groups in an access token.
|
TokenAdjustDefault | 128 |
Required to change the default owner, primary group, or DACL of an access token.
|
TokenAdjustSessionId | 256 |
Required to adjust the session ID of an access token. The
privilege is required.
|
TokenExecute | 131,076 |
Combines and
.
|
TokenRead | 131,080 |
Combines and
.
|
TokenWrite | 131,296 |
Combines ,
, , and
.
|
TokenAllAccess | 983,551 |
Combines all possible access rights for a token.
|
See Also