Share via


CookieHeaderManager.GetCookieHeader(Uri) Method

Definition

Retrieves the authentication cookie header with the given site url.

public:
 System::String ^ GetCookieHeader(Uri ^ siteUrl);
public string GetCookieHeader(Uri siteUrl);
member this.GetCookieHeader : Uri -> string
Public Function GetCookieHeader (siteUrl As Uri) As String

Parameters

siteUrl
Uri

The url to the SharePoint site.

Returns

The cookie header. Null if it is not found.

Applies to