Creates an instance of the current type using the identity of an impersonated account.
Namespace: Inkostar.Classes
Assembly: ACDLib (in ACDLib.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public static ActiveDirectoryLib CreateInstance( string impersonateUserDomain, string impersonateUser, string impersonateUserPassword )
Parameters
- impersonateUserDomain
- Type: SystemString
The netbios or friendly domain name without the domain suffix of the account to be impersonated - impersonateUser
- Type: SystemString
The name of the account to be impersonated - impersonateUserPassword
- Type: SystemString
The password of the account to be impersonated
Return Value
Type: ActiveDirectoryLibAn instance of ActiveDirectoryLib.
See Also