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
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Reveal.Sdk.Data
Assembly: Reveal.UI.Sdk.dll
Syntax
public class RVUsernamePasswordDataSourceCredential : 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
[Obsolete("Use the RVIntegratedAuthenticationCredential class instead.")]
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 |