Class RVUsernamePasswordDataSourceCredential
The class used to represent domain/user/password credentials, required to connect to all data bases (MS SQL, MySQL, etc) and some other data sources (REST API for example).
Inheritance
System.Object
RVUsernamePasswordDataSourceCredential
Implements
Namespace: Reveal.Sdk.Data
Assembly: Infragistics.Reveal.SDK.Server.dll
Syntax
public class RVUsernamePasswordDataSourceCredential : Object, IRVDataSourceCredential
Constructors
RVUsernamePasswordDataSourceCredential()
Constructor used to indicate that anonymous credentials or current system user (for MS SQLServer or MS SSAS) needs to be used
Declaration
public RVUsernamePasswordDataSourceCredential()
RVUsernamePasswordDataSourceCredential(String, String)
Creates credentials with no domain
Declaration
public RVUsernamePasswordDataSourceCredential(string userName, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | userName | User name |
| System.String | password | Password |
RVUsernamePasswordDataSourceCredential(String, String, String)
Creates credentials with the specified attributes
Declaration
public RVUsernamePasswordDataSourceCredential(string userName, string password, string domain)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | userName | User name |
| System.String | password | Password |
| System.String | domain | Domain |
Properties
Domain
Declaration
public string Domain { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Password
Declaration
public string Password { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
UserName
Declaration
public string UserName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |