Class ImpersonationOptions
- Namespace
- EvoPdf
- Assembly
- evohtmltopdf.dll
This class encapsulates the options to control the HTML converter impersonation during navigation
[ClassInterface(ClassInterfaceType.AutoDual)]
public class ImpersonationOptions
- Inheritance
-
ImpersonationOptions
- Inherited Members
Constructors
ImpersonationOptions()
public ImpersonationOptions()
Properties
CurrentUserImpersonation
A flag indicating if the converter should impersonate the current user during navigation. By default this property is false.
public bool CurrentUserImpersonation { get; set; }
Property Value
Domain
The user Windows domain name. This property together with Username property define the user to logon before navigation. If the user is not part of a Windows domain the machine name can be used. By default this property is not set.
public string Domain { get; set; }
Property Value
LogonMode
The logon mode of the user before navigation. This property has effect only when a username for impersonation is specified. The default logon mode is automatic.
public ImpersonationLogonMode LogonMode { get; set; }
Property Value
Password
The password of the user specified by Username and Domain properties. By default this property is not set.
public string Password { get; set; }
Property Value
Username
The name of the user to logon before navigation. The Domain and Password properties must also be set. This property has priority over the CurrentUserImpersonation property. By default this property is not set.
public string Username { get; set; }