CookieHeaderManager.GetCookieHeader Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Retrieves the authentication cookie header with the given site url.
Namespace: Microsoft.VisualStudio.SharePoint.Remote.Authentication
Assembly: Microsoft.VisualStudio.SharePoint.Remote (in Microsoft.VisualStudio.SharePoint.Remote.dll)
Syntax
'Declaration
Public Function GetCookieHeader ( _
siteUrl As Uri _
) As String
public string GetCookieHeader(
Uri siteUrl
)
Parameters
siteUrl
Type: System.UriThe url to the SharePoint site.
Return Value
Type: System.String
The cookie header. Null if it is not found.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.SharePoint.Remote.Authentication Namespace