Class Credentials
Class that provides the security parameters for authorization.
Inheritance
System.Object
Credentials
Assembly: Alachisoft.NCache.Client.dll
Syntax
public class Credentials
Constructors
Credentials(String, String)
Creates an instance of the Credentials.
Declaration
public Credentials(string userId, string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | userId | User Id. |
System.String | password | Password. |
Properties
Password
This property specifies the Password.
Declaration
public string Password { get; }
Property Value
Type | Description |
---|---|
System.String | This property specifies the Password. |
UserID
This property specifies the User Id.
Declaration
public string UserID { get; }
Property Value
Type | Description |
---|---|
System.String | This property specifies the User Id. |