The WindowsSecurityContext type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
WindowsSecurityContext |
Default constructor
|
Methods
Name | Description | |
---|---|---|
ActivateOptions |
Initialize the SecurityContext based on the options set.
| |
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object 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.) | |
Impersonate |
Impersonate the Windows account specified by the UserName and DomainName properties.
(Overrides SecurityContext Impersonate(Object).) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
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
|
See Also