Winnovative Logo

ContextImpersonationOptions Class

Winnovative Client for .NET Core
This class encapsulates the options to control the context impersonation during tool execution
Inheritance Hierarchy

SystemObject
  WinnovativeClientContextImpersonationOptions

Namespace:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public class ContextImpersonationOptions

The ContextImpersonationOptions type exposes the following members.

Constructors

  NameDescription
Public methodContextImpersonationOptions
Initializes a new instance of the ContextImpersonationOptions class
Top
Properties

  NameDescription
Public propertyCurrentUserImpersonation
A flag indicating if the tool should impersonate the current user during execution. By default this property is false.
Public propertyDomain
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.
Public propertyLogonMode
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.
Public propertyPassword
The password of the user specified by Username and Domain properties. By default this property is not set.
Public propertyUsername
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.
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also

Reference