次の方法で共有


ReportServerCredentials.ImpersonationUser プロパティ

 

発行: 2016年4月

レポート サーバーへの接続時に借用するユーザーを指定します。

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

構文

public WindowsIdentity ImpersonationUser { get; set; }
public:
property WindowsIdentity^ ImpersonationUser {
    virtual WindowsIdentity^ get() sealed;
    virtual void set(WindowsIdentity^ value) sealed;
}
abstract ImpersonationUser : WindowsIdentity with get, set
override ImpersonationUser : WindowsIdentity with get, set
Public Property ImpersonationUser As WindowsIdentity

プロパティ値

Type: System.Security.Principal.WindowsIdentity

レポート サーバーへの接続時に借用するユーザーをカプセル化している WindowsIdentity オブジェクト。

実装

IReportServerCredentials.ImpersonationUser

解説

このプロパティが設定されていない場合、ReportViewer コントロールは、現在のスレッドのユーザーとしてレポート サーバーへの接続を試みます。

参照

ReportServerCredentials クラス
Microsoft.Reporting.WinForms 名前空間

トップに戻る