Método IReportServerCredentials.GetFormsCredentials
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 (em Microsoft.ReportViewer.WebForms.dll)
Sintaxe
'Declaração
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
Parâmetros
- authCookie
Tipo: Cookie%
[out] A report server authentication cookie.
- userName
Tipo: String%
[out] The name of the user.
- password
Tipo: String%
[out] The password of the user.
- authority
Tipo: String%
[out] The authority to use when authenticating the user, such as a Microsoft Windows domain.
Valor de retorno
Tipo: Boolean
true if forms authentication should be used; otherwise, false.