scripts
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Security.Principal
|
||||
{
|
||||
/// <summary>Defines the privileges of the user account associated with the access token. </summary>
|
||||
// Token: 0x020005B3 RID: 1459
|
||||
[ComVisible(true)]
|
||||
[Flags]
|
||||
[Serializable]
|
||||
public enum TokenAccessLevels
|
||||
{
|
||||
/// <summary>The user can attach a primary token to a process.</summary>
|
||||
// Token: 0x0400159D RID: 5533
|
||||
AssignPrimary = 1,
|
||||
/// <summary>The user can duplicate the token.</summary>
|
||||
// Token: 0x0400159E RID: 5534
|
||||
Duplicate = 2,
|
||||
/// <summary>The user can impersonate a client.</summary>
|
||||
// Token: 0x0400159F RID: 5535
|
||||
Impersonate = 4,
|
||||
/// <summary>The user can query the token.</summary>
|
||||
// Token: 0x040015A0 RID: 5536
|
||||
Query = 8,
|
||||
/// <summary>The user can query the source of the token.</summary>
|
||||
// Token: 0x040015A1 RID: 5537
|
||||
QuerySource = 16,
|
||||
/// <summary>The user can enable or disable privileges in the token.</summary>
|
||||
// Token: 0x040015A2 RID: 5538
|
||||
AdjustPrivileges = 32,
|
||||
/// <summary>The user can change the attributes of the groups in the token.</summary>
|
||||
// Token: 0x040015A3 RID: 5539
|
||||
AdjustGroups = 64,
|
||||
/// <summary>The user can change the default owner, primary group, or discretionary access control list (DACL) of the token.</summary>
|
||||
// Token: 0x040015A4 RID: 5540
|
||||
AdjustDefault = 128,
|
||||
/// <summary>The user can adjust the session identifier of the token.</summary>
|
||||
// Token: 0x040015A5 RID: 5541
|
||||
AdjustSessionId = 256,
|
||||
/// <summary>The user has standard read rights and the <see cref="F:System.Security.Principal.TokenAccessLevels.Query" /> privilege for the token.</summary>
|
||||
// Token: 0x040015A6 RID: 5542
|
||||
Read = 131080,
|
||||
/// <summary>The user has standard write rights and the <see cref="F:System.Security.Principal.TokenAccessLevels.AdjustPrivileges, F:System.Security.Principal.TokenAccessLevels.AdjustGroups" />, and <see cref="F:System.Security.Principal.TokenAccessLevels.AdjustDefault" /> privileges for the token.</summary>
|
||||
// Token: 0x040015A7 RID: 5543
|
||||
Write = 131296,
|
||||
/// <summary>The user has all possible access to the token.</summary>
|
||||
// Token: 0x040015A8 RID: 5544
|
||||
AllAccess = 983551,
|
||||
/// <summary>The maximum value that can be assigned for the <see cref="T:System.Security.Principal.TokenAccessLevels" /> enumeration.</summary>
|
||||
// Token: 0x040015A9 RID: 5545
|
||||
MaximumAllowed = 33554432
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user