JAMS Developer Guide
Credential Class Members
Properties  Methods  Events


MVPSI.JAMS Namespace : Credential Class

The following tables list the members exposed by Credential.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyAccess Control List.  
Public PropertyGets or sets the ID for this Credential  
Public PropertyGets or sets the username for this Credential definition.  
Public PropertyGets or sets the description of this Credential.  
Public PropertyGets or sets the Encrypted Password for this Credential definition.  
Public PropertyGets or sets the Encrypted PrivateKey for this Credential definition.  
Public PropertyGets an error message that describes the errors in the object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyGets the fingerprint of the key  
Public PropertyThe HasErrors property can be used to determine if the object has any errors. If the object needs to be validated, it is done before returning. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyIs this object in the middle of an edit? (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyReturns any error messages currently associated with this column. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyGets the date and time when this Credential definition was last changed.  
Public PropertyGets the UTC date and time when this Credential definition was last changed.  
Public PropertyGets the JAMS Server that this Credential was loaded from.  
Public PropertyGets or sets the logon username for this Credential definition. This is the string which is actually passed to the remote host as the logon username.  
Public PropertyThe Modified property keeps track of modified state of this object. You cannot set the Modified property. If you modify the object, the modified property will be true until you end or cancel the update. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyThe NewObject property indicates that this object has just been created and has never been saved on a JAMS Server. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertySets the password for this user.  
Public PropertyGets the private key for this Credential definition.  
Public PropertyGets the public key  
Public PropertyGets a list of References to this Credential.  
Public PropertyThe Validated property keeps track of the validation state of this object. If the object has been modified, Validated will be false until the object has been successfully validated by the Validate method. (Inherited from MVPSI.JAMS.BasePublicObject)
Top
Public Methods
 NameDescription
Public MethodStarts an edit of this object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodCancels an edit of this object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public Methodstatic (Shared in Visual Basic)Checks a Credential against a JAMS Server.  
Public MethodClears the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodClearModified is designed to be used internally and should not be called from end-user code. Call Update() which saves the modifications and then calls ClearModified. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodImplementation of ICloneable Clone.  
Public MethodImplementation of IComparable CompareTo. Compare this instance to the one specified.  
Public MethodOverloaded. Delete the Credential definition.  
Public MethodEnds an edit of this object. Any changes are saved. (Inherited from MVPSI.JAMS.BasePublicObject)
Public Methodstatic (Shared in Visual Basic)Overloaded. Test to determine if a given Credential definition exists on the default server.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Creates and loads a new CredentialList from the default JAMS server.  
Public MethodGenerates a new public/private key pair for this Credential.  
Public MethodOverloaded. Gets a CredentialSecurity object that encapsulates the access control list (ACL) entries for the Credential described by the current Credential object.  
Public MethodGets a new Network Credential  
Public MethodGets the name that should be used to log on.  
Public MethodReturns the password as a SecureString. You must have "Inquire" access to Credentials and "GetPassword" access to the specific Credential to call this method.  
Public MethodInitializes all properties to their default values.  
Public MethodInitialize the ACL with default settings. This allows the creator and the user full access.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Load a Credential definition from the default JAMS Server.  
Public MethodOverloaded. Loads a public/private key pair from a file.  
Public MethodReads the Credential values from XML  
Public MethodSave the Credential with a new name and/or server.  
Public MethodOverloaded. Saves the public/private key pair to a file.  
Public MethodOverloaded. Saves the public key to a file.  
Public MethodApplies access control list (ACL) entries described by a CredentialSecurity object to the Credential described by the current Credential object.  
Public MethodSets the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodMarks the object as modified. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodReturns the string equivalent of this Credential definition.  
Public MethodOverridden. Undo changes that have not been saved to the database.  
Public MethodOverloaded. Save updates to the JAMS Server  
Public MethodOverloaded. Overridden. Validate all properties.  
Public MethodWrites the Credential values from XML  
Top
Protected Methods
 NameDescription
Protected MethodAttempts to raise the PropertyChanged event (Inherited from MVPSI.JAMS.BasePublicObject)
Protected MethodAttempts to raise the PropertyChanging event (Inherited from MVPSI.JAMS.BasePublicObject)
Protected MethodSaveOriginal is called when an edit is about to begin. You override this method to save the original values. (Inherited from MVPSI.JAMS.BasePublicObject)
Top
Public Events
 NameDescription
Public EventEvent Handler for Property Changed Event (Inherited from MVPSI.JAMS.BasePublicObject)
Public EventEvent Handler for Property Changing Event (Inherited from MVPSI.JAMS.BasePublicObject)
Top
See Also

Reference

Credential Class
MVPSI.JAMS Namespace