Share via


FormsCredentials constructor (String, Dictionary<String, String>)

Initializes a new instance of the FormsCredentials class with the logon page URL and a dictionary object containing the input values passed in the logon request.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Sub New ( _
    formsPage As String, _
    pairs As Dictionary(Of String, String) _
)
'Usage
Dim formsPage As String
Dim pairs As Dictionary(Of String, String)

Dim instance As New FormsCredentials(formsPage, _
    pairs)
public FormsCredentials(
    string formsPage,
    Dictionary<string, string> pairs
)

Parameters

  • formsPage
    Type: System.String

    A string containing the logon page URL.

See also

Reference

FormsCredentials class

FormsCredentials members

FormsCredentials overload

Microsoft.Office.Server.Search.Query namespace