Persistate API documentation
Credentials Class
NamespacesPersistateCredentials

[This is preliminary documentation and is subject to change.]

Contains a set of user credentials which can be used for authentication purposes.
Declaration Syntax
C#
public class Credentials
Members
All MembersMethodsProperties



IconMemberDescription
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)
Determines whether the specified Object is equal to the current 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()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UserName
Gets the name of the user.

Remarks
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.
Inheritance Hierarchy
Object
Credentials

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)