log4net SDK Reference

WindowsSecurityContext Members

WindowsSecurityContext overview

Public Instance Constructors

WindowsSecurityContext Constructor Default constructor

Public Instance Properties

Credentials Gets or sets the impersonation mode for this security context
DomainName Gets or sets the Windows domain name for this security context
Password Sets the password for the Windows account specified by the UserName and DomainName properties.
UserName Gets or sets the Windows username for this security context

Public Instance Methods

ActivateOptions Initialize the SecurityContext based on the options set.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Impersonate Impersonate the Windows account specified by the UserName and DomainName properties.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

WindowsSecurityContext Class | log4net.Util Namespace