次の方法で共有


IReportServerCredentials.GetFormsCredentials メソッド (Cookie, String, String, String)

 

公開日: 2016年4月

レポート サーバーへの接続に使用するフォーム認証を提供します。

名前空間:   Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)

構文

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 (
    <OutAttribute> ByRef authCookie As Cookie,
    <OutAttribute> ByRef userName As String,
    <OutAttribute> ByRef password As String,
    <OutAttribute> ByRef authority As String
) As Boolean

パラメーター

  • authCookie
    Type: System.Net.Cookie

    [out] レポート サーバーの認証クッキー。

  • password
    Type: System.String

    [out] ユーザーのパスワード。

  • authority
    Type: System.String

    [out] ユーザーの認証時に使用する、Microsoft Windows ドメインなどの機関。

戻り値

Type: System.Boolean

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

関連項目

IReportServerCredentials インターフェイス
Microsoft.Reporting.WinForms 名前空間

トップに戻る