SharePointOnlineCredentials.GetAuthenticationCookie method (Uri)

SharePoint 2013

Gets the authentication cookie.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

public string GetAuthenticationCookie(
	Uri url
)

Parameters

url
Type: System.Uri

The URL of a site.

Return value

Type: System.String
The authentication cookie, which may be a null reference (Nothing in Visual Basic) or an empty string when the cookie cannot be retrieved.
Show:
© 2015 Microsoft