This class encapsulates the options to control the context impersonation during tool execution
Inheritance Hierarchy
Winnovative.PdfToHtmlContextImpersonationOptions
Namespace: Winnovative.PdfToHtml
Assembly: WnvPdfToHtml (in WnvPdfToHtml.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
The ContextImpersonationOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ContextImpersonationOptions | Initializes a new instance of the ContextImpersonationOptions class |
Properties
Name | Description | |
---|---|---|
CurrentUserImpersonation |
A flag indicating if the tool should impersonate the current user during execution.
By default this property is false.
| |
Domain |
The user Windows domain name. This property together with Username property define the user to logon before execution.
If the user is not part of a Windows domain the machine name can be used.
By default this property is not set.
| |
LogonMode |
The logon mode of the user before execution. This property has effect only when a username for impersonation is specified.
The default logon mode is automatic.
| |
Password | ||
Username |
The name of the user to logon before execution. The Domain and Password properties must also be set.
This property has priority over the CurrentUserImpersonation property.
By default this property is not set.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also