NetworkCredential Members
The NetworkCredential type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NetworkCredential(String, String) |
Initializes a new instance of the NetworkCredential class with
the specified user name and password.
|
|
NetworkCredential(String, String, String, array<String>[]()[][]) |
Initializes a new instance of the NetworkCredential class with
the specified user name, password, domain, and roles.
|
Methods
Name | Description | |
---|---|---|
Equals(System.Object) | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Domain |
Gets the name of the user domain associated with the credentials.
|
|
Password |
Gets the password for the user name associated with the credentials.
|
|
Roles |
Gets the role names to which the user associated with the credentials belongs.
|
|
UserName |
Gets the user name associated with the credentials.
|