TokenAccessLevels Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the privileges of the user account associated with the access token.
This enumeration supports a bitwise combination of its member values.
public enum class TokenAccessLevels
[System.Flags]
public enum TokenAccessLevels
[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum TokenAccessLevels
[<System.Flags>]
type TokenAccessLevels =
[<System.Flags>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type TokenAccessLevels =
Public Enum TokenAccessLevels
- Inheritance
- Attributes
Fields
AdjustDefault | 128 | The user can change the default owner, primary group, or discretionary access control list (DACL) of the token. |
AdjustGroups | 64 | The user can change the attributes of the groups in the token. |
AdjustPrivileges | 32 | The user can enable or disable privileges in the token. |
AdjustSessionId | 256 | The user can adjust the session identifier of the token. |
AllAccess | 983551 | The user has all possible access to the token. |
AssignPrimary | 1 | The user can attach a primary token to a process. |
Duplicate | 2 | The user can duplicate the token. |
Impersonate | 4 | The user can impersonate a client. |
MaximumAllowed | 33554432 | The maximum value that can be assigned for the TokenAccessLevels enumeration. |
Query | 8 | The user can query the token. |
QuerySource | 16 | The user can query the source of the token. |
Read | 131080 | The user has standard read rights and the Query privilege for the token. |
Write | 131296 | The user has standard write rights and the AdjustPrivileges, AdjustGroups and AdjustDefault privileges for the token. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기