Share via


CookieCredentials Constructor (Cookie)

Initializes a new instance of the CookieCredentials class that contains the specified authentication cookie.

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

Syntax

'Declaration
Public Sub New ( _
    cookie As Cookie _
)
'Usage
Dim cookie As Cookie

Dim instance As New CookieCredentials(cookie)
public CookieCredentials(
    Cookie cookie
)

Parameters

  • cookie
    Type: System.Net.Cookie
    A System.Net.Cookie object that represents the authentication cookie for the connection to the federated location.

See Also

Reference

CookieCredentials Class

CookieCredentials Members

CookieCredentials Overload

Microsoft.Office.Server.Search.Federation Namespace

CookieAuthdata

FormsCredentials

Other Resources

Federated Search Overview

Custom Federated Search Web Part Sample