WindowsSecurityContext MembersApache log4net™ SDK Documentation
The WindowsSecurityContext type exposes the following members.
Constructors

  NameDescription
Public methodWindowsSecurityContext
Default constructor
Back to Top
Methods

  NameDescription
Public methodActivateOptions
Initialize the SecurityContext based on the options set.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodImpersonate
Impersonate the Windows account specified by the UserName and DomainName properties.
(Overrides SecurityContext Impersonate(Object).)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyCredentials
Gets or sets the impersonation mode for this security context
Public propertyDomainName
Gets or sets the Windows domain name for this security context
Public propertyPassword
Sets the password for the Windows account specified by the UserName and DomainName properties.
Public propertyUserName
Gets or sets the Windows username for this security context
Back to Top
See Also