ReportServerCredentials.GetFormsCredentials メソッド (Cookie, String, String, String)
公開日: 2016年7月
レポート サーバーへの接続時にフォーム認証が使用されるかどうかを示すブール値、および認証に使用するフォームの資格情報に関する情報を返します。
名前空間: Microsoft.Reporting.WinForms
アセンブリ: Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)
構文
public bool GetFormsCredentials(
out Cookie authCookie,
out string userName,
out string password,
out string authority
)
public:
virtual bool GetFormsCredentials(
[OutAttribute] Cookie^% authCookie,
[OutAttribute] String^% userName,
[OutAttribute] String^% password,
[OutAttribute] String^% authority
) sealed
abstract GetFormsCredentials :
authCookie:Cookie byref *
userName:string byref *
password:string byref *
authority:string byref -> bool
override GetFormsCredentials :
authCookie:Cookie byref *
userName:string byref *
password:string byref *
authority:string byref -> bool
Public 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] レポート サーバーによって使用される認証クッキー。
userName
Type: System.String[out] レポート サーバーへの接続に使用するユーザー名。
- Password
[out] レポート サーバーへの接続に使用するパスワード。
- Authority
[out] ユーザーの認証時に使用する Microsoft Windows ドメイン名などの認証情報。
戻り値
Type: System.Boolean
レポート サーバーへの接続時にフォーム認証が使用される場合は、true を返します。フォーム認証で使用する資格情報に関する情報は、メソッドの呼び出しで使用される出力パラメーター経由で返されます。
実装
IReportServerCredentials.GetFormsCredentials(Cookie, String, String, String)
関連項目
ReportServerCredentials クラス
Microsoft.Reporting.WinForms 名前空間
トップに戻る