Sdílet prostřednictvím


ReportServerCredentials.GetFormsCredentials-Methode

Returns a Boolean value indicating whether forms authentication will be used when connecting to the report server, as well as information about the forms credentials to be used for authentication.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
'Usage

Parameter

  • authCookie
    [out] An authentication cookie used by the report server.
  • userName
    [out] The user name that will be used to connect to the report server.
  • password
    [out] The password that will be used to connect to the report server.
  • authority
    [out] The authority to use when authenticating the user, for example, a Windows domain name.

Rückgabewert

Returns true if forms authentication is to be used when connecting to the report server. Information about the credentials to be used for forms authentication is returned via the out parameters used in the method call.

Siehe auch

Verweis

ReportServerCredentials-Klasse
ReportServerCredentials-Member
Microsoft.Reporting.WinForms-Namespace