Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum System.​Security.​Principal.​TokenAccessLevels
Assembly: System.Security.Principal.Windows
Defines the privileges of the user account associated with the access token.
Values
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.
Query
The user can query the token.
QuerySource
The user can query the source of the token.
AdjustPrivileges
The user can enable or disable privileges in the token.
AdjustGroups
The user can change the attributes of the groups in the token.
AdjustDefault
The user can change the default owner, primary group, or discretionary access control list (DACL) of the token.
AdjustSessionId
The user can adjust the session identifier of the token.
Read
The user has standard read rights and the <see cref="F:System.Security.Principal.TokenAccessLevels.Query" /> privilege for the token.
Write
The user has standard write rights and the <see cref="F:System.Security.Principal.TokenAccessLevels.AdjustPrivileges" /> , <see cref="F:System.Security.Principal.TokenAccessLevels.AdjustGroups" /> and <see cref="F:System.Security.Principal.TokenAccessLevels.AdjustDefault" /> privileges for the token.
AllAccess
The user has all possible access to the token.
MaximumAllowed
The maximum value that can be assigned for the <see cref="T:System.Security.Principal.TokenAccessLevels" /> enumeration.