Last updated: 2006-09-18
This website is based on NLog v1.0.
Click here to view the documentation
for other versions.
| ImpersonatingWrapper Target A target wrapper that impersonates another user for the duration of the write. | Assembly | Class | .NET Framework | .NET CF | Mono on Windows | Mono on Unix |
|---|
| 1.0 | 1.1 | 2.0 | 1.0 | 2.0 | 1.0 | 2.0 | 1.0 | 2.0 |
|---|
| NLog.dll | NLog.Targets.Wrappers.ImpersonatingTargetWrapper |  |  |  | | |  |  | | |
Parameters (blue fields are required):| Name | Type | Description |
|---|
| name | string | | | domain | string | | Windows domain name to change context to. Default value is: .. |
| | impersonationLevel | SecurityImpersonationLevel | | Impersonation level.
Possible values are:
Anonymous - Anonymous Identification - Identification Impersonation - Impersonation Delegation - Delegation
|
| | logonProvider | LogonProviderType | | Logon Provider.
Possible values are:
Default - Use the standard logon provider for the system.
|
| | logonType | SecurityLogonType | | Logon Type.
Possible values are:
Interactive - Interactive Logon Network - Network Logon Batch - Batch Logon Service - Logon as a Service NetworkClearText - Network Clear Text Logon NewCredentials - New Network Credentials
|
| | password | string | | | revertToSelf | boolean | | Revert to the credentials of the process instead of impersonating another user. Default value is: False. |
| | username | string | | Username to change context to |
| | wrappedTarget | Target | | The target that this target wraps. |
|
Back to the target list. |
| Copyright © 2004-2006 by Jarosław Kowalski. |