Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDbConnectionExtension.UserName Property

Gets or sets the username to use when connecting to the database. Overrides any username specified in the connection string.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblies:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
string UserName { set; }

Property Value

Type: System.String
The user name to use when authenticating the client.

You can set the username and Password in order to specify alternate credentials with which to access the data source.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.