IReportServerCredentials.GetFormsCredentials-Methode
Stellt die Formularauthentifizierung bereit, die für die Herstellung der Verbindung mit dem Berichtsserver verwendet werden soll.
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
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(
authCookie : Cookie,
userName : String,
password : String,
authority : String
) : boolean
Parameter
- authCookie
Typ: Cookie%
[out] Ein Authentifizierungscookie für den Berichtsserver.
- userName
Typ: String%
[out] Der Name des Benutzers.
- password
Typ: String%
[out] Das Kennwort des Benutzers.
- authority
Typ: String%
[out] Die bei der Authentifizierung des Benutzers zu verwendende Autorität, z. B. eine Microsoft Windows-Domäne.
Rückgabewert
Typ: Boolean
Ein Boolean-Wert.Der Wert true gibt an, dass die Formularauthentifizierung verwendet werden soll.