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 の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示