Επεξεργασία

Κοινή χρήση μέσω


TokenImpersonationLevel Enum

Definition

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

public enum class TokenImpersonationLevel
public enum TokenImpersonationLevel
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum TokenImpersonationLevel
type TokenImpersonationLevel = 
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type TokenImpersonationLevel = 
Public Enum TokenImpersonationLevel
Inheritance
TokenImpersonationLevel
Attributes

Fields

Name Value Description
None 0

An impersonation level is not assigned.

Anonymous 1

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

Identification 2

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 3

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

Delegation 4

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

Remarks

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

Applies to