CookieHeaderManager.GetCookieHeader(Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.