Provides forms authentication to be used to connect to the report server.
命名空间: Microsoft.Reporting.WinForms
程序集: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll 中)
语法
声明
用法
参数
- authCookie
[out] A report server authentication cookie.
- userName
[out] The name of the user.
- password
[out] The password of the user.
- authority
[out] The authority to use when authenticating the user, such as a Microsoft Windows ___domain.
返回值
A Boolean value. A value of true indicates that forms authentication should be used.
另请参见
参考
IReportServerCredentials 接口
IReportServerCredentials 成员
Microsoft.Reporting.WinForms 命名空间