获取或设置当 ReportViewer 控件连接到报表服务器时要模拟的用户的 WindowsIdentity。
命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)
语法
声明
ReadOnly Property ImpersonationUser As WindowsIdentity
WindowsIdentity ImpersonationUser { get; }
property WindowsIdentity^ ImpersonationUser {
WindowsIdentity^ get ();
}
abstract ImpersonationUser : WindowsIdentity with get
function get ImpersonationUser () : WindowsIdentity
属性值
类型:WindowsIdentity
一个表示要模拟的用户的 WindowsIdentity 对象。