Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'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
)
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: System.Net.Cookie%
[out] Ein Authentifizierungscookie für den Berichtsserver.
- userName
Typ: System.String%
[out] Der Name des Benutzers.
- password
Typ: System.String%
[out] Das Kennwort des Benutzers.
- authority
Typ: System.String%
[out] Die bei der Authentifizierung des Benutzers zu verwendende Autorität, z. B. eine Microsoft Windows-Domäne.
Rückgabewert
Typ: System.Boolean
Ein Boolean-Wert. Der Wert true gibt an, dass die Formularauthentifizierung verwendet werden soll.