Click or drag to resize
weroSoft AG, Software
WindowsImpersonation Constructor
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Initializes a new object of the type Impersonation.

Namespace:  WeroSoft.Security
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0
Syntax
C#
public WindowsImpersonation(
	IntPtr token,
	string domainName,
	string accountName,
	string password,
	WindowsImpersonationMode impersonationMode
)

Parameters

token
Type: SystemIntPtr
Windows token to create impersonation from.
domainName
Type: SystemString
The name of the domain to which this impersonation is connected to.
accountName
Type: SystemString
The name of the account which is used for impersonation.
password
Type: SystemString
The password used for log-on.
impersonationMode
Type: WeroSoft.SecurityWindowsImpersonationMode
The mode the impersonation shall be performed.
See Also