TokenImpersonationLevel Enumeration

TokenImpersonationLevel Enumeration

Defines security impersonation levels. Security impersonation levels govern the degree to which a server process can act on behalf of a client process.

Namespace:  System.Security.Principal
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
[ComVisibleAttribute(true)]
public enum TokenImpersonationLevel

Member nameDescription
NoneAn impersonation level is not assigned.
AnonymousThe server process cannot obtain identification information about the client, and it cannot impersonate the client.
IdentificationThe 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.
ImpersonationThe server process can impersonate the client's security context on its local system. The server cannot impersonate the client on remote systems.
DelegationThe server process can impersonate the client's security context on remote systems.

Impersonation is the ability of a process to take on the security attributes of another process.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2016 Microsoft