IReportServerCredentials.GetFormsCredentials Method (Cookie, String, String, String)
Provides forms authentication to be used to connect to the report server.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
bool GetFormsCredentials(
out Cookie authCookie,
out string userName,
out string password,
out string authority
)
bool GetFormsCredentials(
[OutAttribute] Cookie^% authCookie,
[OutAttribute] String^% userName,
[OutAttribute] String^% password,
[OutAttribute] String^% authority
)
abstract GetFormsCredentials :
authCookie:Cookie byref *
userName:string byref *
password:string byref *
authority:string byref -> bool
Function GetFormsCredentials (
<OutAttribute> ByRef authCookie As Cookie,
<OutAttribute> ByRef userName As String,
<OutAttribute> ByRef password As String,
<OutAttribute> ByRef authority As String
) As Boolean
Parameters
authCookie
Type: System.Net.Cookie[out] A report server authentication cookie.
userName
Type: System.String[out] The name of the user.
password
Type: System.String[out] The password of the user.
authority
Type: System.String[out] The authority to use when authenticating the user, such as a Microsoft Windows domain.
Return Value
Type: System.Boolean
A Boolean value. A value of true indicates that forms authentication should be used.
See Also
IReportServerCredentials Interface
Microsoft.Reporting.WinForms Namespace
Return to top