[This is preliminary documentation and is subject to change.]
Contains a set of user credentials which can be used for
authentication purposes.
| C# |
public class Credentials
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| CurrentUserCredentials()()()() | Creates a Credentials object for the currently logged in user in
the local machine. | |
| DomainName | Gets the name of the domain in which the user name is valid.
| |
| Equals(Object) | (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.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Password | Sets the password to be used to authenticate the user. | |
| PreAuthenticated | Gets a value indicating whether the credentials supplied refer to
a user who has already been authenticated within the domain named in this
object. | |
| ToString()()()() | (Inherited from Object.) | |
| UserName | Gets the name of the user. |
Credentials can denote either a user who has already been
authenticated in a particular domain, or a user who has yet to be
authenticated. Note that only pre-authenticated credentials are available for
the moment, and these refer to the currently logged in user.
| Object | |
| Credentials | |