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 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
'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
A Boolean value. A value of true indicates that forms authentication should be used.
See Also
Reference
IReportServerCredentials Interface
IReportServerCredentials Members
Microsoft.Reporting.WinForms Namespace