TokenImpersonationLevel Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
Fields
Anonymous | 1 | The server process cannot obtain identification information about the client, and it cannot impersonate the client. |
Delegation | 4 | The server process can impersonate the client's security context on remote systems. |
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. |
None | 0 | An impersonation level is not assigned. |
Remarks
Impersonation is the ability of a process to take on the security attributes of another process.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기