TokenAccessLevels Enumeration
.NET Framework 2.0
Note: This enumeration is new in the .NET Framework version 2.0.
Defines the privileges of the user account associated with the access token.
Assembly: mscorlib (in mscorlib.dll)
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Security.PrincipalAssembly: mscorlib (in mscorlib.dll)
'Declaration <SerializableAttribute> _ <ComVisibleAttribute(True)> _ <FlagsAttribute> _ Public Enumeration TokenAccessLevels 'Usage Dim instance As TokenAccessLevels
/** @attribute SerializableAttribute() */ /** @attribute ComVisibleAttribute(true) */ /** @attribute FlagsAttribute() */ public enum TokenAccessLevels
SerializableAttribute ComVisibleAttribute(true) FlagsAttribute public enum TokenAccessLevels
| Member name | Description | |
|---|---|---|
| AdjustDefault | The user can change the default owner, primary group, or discretionary access control list (DACL) of the token. | |
| AdjustGroups | The user can change the attributes of the groups in the token. | |
| AdjustPrivileges | The user can enable or disable privileges in the token. | |
| AdjustSessionId | The user can adjust the session identifier of the token. | |
| AllAccess | The user has all possible access to the token. | |
| AssignPrimary | The user can attach a primary token to a process. | |
| Duplicate | The user can duplicate the token. | |
| Impersonate | The user can impersonate a client. | |
| MaximumAllowed | The maximum value that can be assigned for the TokenAccessLevels enumeration. | |
| Query | The user can query the token. | |
| QuerySource | The user can query the source of the token. | |
| Read | The user has standard read rights and the Query privilege for the token. | |
| Write | The user has standard write rights and the AdjustGroups, and AdjustDefault privileges for the token. |
Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: