ReportServerCredentials.ImpersonationUser 属性

Specifies the user to impersonate when connecting to the report server.

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

语法

声明
用法

属性值

A WindowsIdentity object encapsulating the user to impersonate when connecting to a report server.

备注

The ReportViewer control will to attempt to connect to the report server as the current thread user if this property is not set.

另请参见

参考

ReportServerCredentials 类
ReportServerCredentials 成员
Microsoft.Reporting.WinForms 命名空间