Export (0) Print
Expand All
Expand Minimize

ImpersonationLevelOption Enumeration

Specifies the level of impersonation allowed when calling targets of a server application.

[Visual Basic]
<Serializable>
Public Enum ImpersonationLevelOption
[C#]
[Serializable]
public enum ImpersonationLevelOption
[C++]
[Serializable]
__value public enum ImpersonationLevelOption
[JScript]
public
   Serializable
enum ImpersonationLevelOption

Remarks

If impersonation succeeds, the client lets the server impersonate the client to some degree. The varying degrees of impersonation are called impersonation levels, and they indicate how much authority is given to the server when it is impersonating the client.

Note   For library (inproc) applications, the only valid settings are Default or none specified.

Members

Member name Description
Anonymous The client is anonymous to the server. The server process can impersonate the client, but the impersonation token does not contain any information about the client.
Default Uses the default impersonation level for the specified authentication service. In COM+, this setting is provided by the DefaultImpersonationLevel property in the LocalComputer collection.
Delegate The most powerful impersonation level. When this level is selected, the server (whether local or remote) can impersonate the client's security context while acting on behalf of the client
Identify The system default level. The server can obtain the client's identity, and the server can impersonate the client to do ACL checks.
Impersonate The server can impersonate the client's security context while acting on behalf of the client. The server can access local resources as the client.

Requirements

Namespace: System.EnterpriseServices

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Enterpriseservices (in System.Enterpriseservices.dll)

See Also

System.EnterpriseServices Namespace

Show:
© 2014 Microsoft