Table of contents
TOC
Collapse the table of content
Expand the table of content

AuthenticationManager.GetWebLoginClientContext Method

SharePoint Dev Documents|Last Updated: 5/19/2017
|
1 Contributor

Returns a SharePoint on-premises / SharePoint Online ClientContext object. Requires claims based authentication with FedAuth cookie.

Namespace:OfficeDevPnP.Core
Assembly: OfficeDevPnP.Core.dll

Syntax

public ClientContext GetWebLoginClientContext(String siteUrl, Icon icon)

Parameters

siteUrl

  Type: System.String
  Site for which the ClientContext object will be instantiated

(optional) icon

  Type: System.Drawing.Icon
  Optional icon to use for the popup form

Return Value

Type: ClientContext
ClientContext to be used by CSOM code

See also

© 2018 Microsoft