Share via


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
'使用
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

パラメーター

  • authCookie
    型: System.Net.Cookie%
    [out] レポート サーバーの認証 Cookie。
  • password
    型: System.String%
    [out] ユーザーのパスワード。
  • authority
    型: System.String%
    [out] ユーザーの認証時に使用する、Microsoft Windows ドメインなどの機関。

戻り値

型: System.Boolean
ブール 値。true は、フォーム認証を使用する必要があることを示します。

関連項目

参照

IReportServerCredentials インターフェイス

Microsoft.Reporting.WinForms 名前空間