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.
| |
| (Inherited from | ||
Allows an (Inherited from | ||
Serves as a hash function for a particular type.
(Inherited from | ||
Gets the (Inherited from | ||
| Impersonate |
Impersonate the Windows account specified by the UserName and DomainName properties.
(Overrides SecurityContext Impersonate(Object).) | |
Creates a shallow copy of the current (Inherited from | ||
| (Inherited from |
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