IReportServerCredentials.GetFormsCredentials メソッド
レポート サーバーへの接続に使用するフォーム認証を提供します。
名前空間: Microsoft.Reporting.WinForms
アセンブリ: Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)
構文
'宣言
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
パラメーター
- authCookie
型 : Cookie%
[out] レポート サーバーの認証クッキー。
- userName
型 : String%
[out] ユーザー名。
- password
型 : String%
[out] ユーザーのパスワード。
- authority
型 : String%
[out] ユーザーの認証時に使用する、Microsoft Windows ドメインなどの機関。
戻り値
型 : Boolean
ブール 値。 true は、フォーム認証を使用する必要があることを示します。