Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Security/Principal/TokenImpersonationLevel.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

36 lines
1.8 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Principal
{
/// <summary>Defines security impersonation levels. Security impersonation levels govern the degree to which a server process can act on behalf of a client process.</summary>
// Token: 0x020003E3 RID: 995
[Token(Token = "0x20003E3")]
[ComVisible(true)]
[Serializable]
public enum TokenImpersonationLevel
{
/// <summary>The server process cannot obtain identification information about the client, and it cannot impersonate the client.</summary>
// Token: 0x0400139C RID: 5020
[Token(Token = "0x400139C")]
Anonymous = 1,
/// <summary>The server process can impersonate the client's security context on remote systems.</summary>
// Token: 0x0400139D RID: 5021
[Token(Token = "0x400139D")]
Delegation = 4,
/// <summary>The server process can obtain information about the client, such as security identifiers and privileges, but it cannot impersonate the client. This is useful for servers that export their own objects, for example, database products that export tables and views. Using the retrieved client-security information, the server can make access-validation decisions without being able to use other services that are using the client's security context.</summary>
// Token: 0x0400139E RID: 5022
[Token(Token = "0x400139E")]
Identification = 2,
/// <summary>The server process can impersonate the client's security context on its local system. The server cannot impersonate the client on remote systems.</summary>
// Token: 0x0400139F RID: 5023
[Token(Token = "0x400139F")]
Impersonation,
/// <summary>An impersonation level is not assigned.</summary>
// Token: 0x040013A0 RID: 5024
[Token(Token = "0x40013A0")]
None = 0
}
}