Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TokenImpersonationLevel Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Anonymous

The server process cannot obtain identification information about the client, and it cannot impersonate the client.

Delegation

The server process can impersonate the client's security context on remote systems.

Identification

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.

Impersonation

The server process can impersonate the client's security context on its local system. The server cannot impersonate the client on remote systems.

None

An impersonation level is not assigned.

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft