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 物件。