IReportServerCredentials.GetFormsCredentials 方法

Provides information that will be used to connect to the report server that is configured for forms authentication.

命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms (在 microsoft.reportviewer.webforms.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.

返回值

true if forms authentication should be used; otherwise, false.

另请参见

参考

IReportServerCredentials 接口
IReportServerCredentials 成员
Microsoft.Reporting.WebForms 命名空间