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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft