IReportServerCredentials.ImpersonationUser 属性

指定连接到报表服务器时要模拟的用户。

命名空间:  Microsoft.Reporting.WinForms
程序集:  Microsoft.ReportViewer.WinForms(在 Microsoft.ReportViewer.WinForms.dll 中)

语法

声明
ReadOnly Property ImpersonationUser As WindowsIdentity
    Get
用法
Dim instance As IReportServerCredentials
Dim value As WindowsIdentity

value = instance.ImpersonationUser
WindowsIdentity ImpersonationUser { get; }
property WindowsIdentity^ ImpersonationUser {
    WindowsIdentity^ get ();
}
abstract ImpersonationUser : WindowsIdentity
function get ImpersonationUser () : WindowsIdentity

属性值

类型:System.Security.Principal.WindowsIdentity
表示要模拟的用户的 WindowsIdentity 对象。

请参阅

参考

IReportServerCredentials 接口

Microsoft.Reporting.WinForms 命名空间