Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides information that will be used to connect to the report server that is configured for forms authentication.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)
Syntax
'Declaration
Function GetFormsCredentials ( _
<OutAttribute> ByRef authCookie As Cookie, _
<OutAttribute> ByRef userName As String, _
<OutAttribute> ByRef password As String, _
<OutAttribute> ByRef authority As String _
) As Boolean
'Usage
Dim instance As IReportServerCredentials
Dim authCookie As Cookie
Dim userName As String
Dim password As String
Dim authority As String
Dim returnValue As Boolean
returnValue = instance.GetFormsCredentials(authCookie, userName, password, authority)
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
)
boolean GetFormsCredentials (
/** @attribute OutAttribute() */ /** @ref */ Cookie authCookie,
/** @attribute OutAttribute() */ /** @ref */ String userName,
/** @attribute OutAttribute() */ /** @ref */ String password,
/** @attribute OutAttribute() */ /** @ref */ String authority
)
JScript does not support passing value-type arguments by reference.
Parameters
- authCookie
[out] A report server authentication cookie.
- userName
[out] The name of the user.
- password
[out] The password of the user.
- authority
[out] The authority to use when authenticating the user, such as a Microsoft Windows domain.
Return Value
true if forms authentication should be used; otherwise, false.
See Also
Reference
IReportServerCredentials Interface
IReportServerCredentials Members
Microsoft.Reporting.WebForms Namespace