IAuthenticationManager.GetAuthenticatedClientContext Method

Definition

Overloads

GetAuthenticatedClientContext(Uri, Boolean)
GetAuthenticatedClientContext(String)
GetAuthenticatedClientContext(Uri)

GetAuthenticatedClientContext(Uri, Boolean)

public:
 Microsoft::SharePoint::Client::ClientContext ^ GetAuthenticatedClientContext(Uri ^ siteUrl, bool overrideUrl);
public Microsoft.SharePoint.Client.ClientContext GetAuthenticatedClientContext (Uri siteUrl, bool overrideUrl);
abstract member GetAuthenticatedClientContext : Uri * bool -> Microsoft.SharePoint.Client.ClientContext
Public Function GetAuthenticatedClientContext (siteUrl As Uri, overrideUrl As Boolean) As ClientContext

Parameters

siteUrl
Uri
overrideUrl
Boolean

Returns

ClientContext

Applies to

GetAuthenticatedClientContext(String)

public:
 Microsoft::SharePoint::Client::ClientContext ^ GetAuthenticatedClientContext(System::String ^ siteUrl);
public Microsoft.SharePoint.Client.ClientContext GetAuthenticatedClientContext (string siteUrl);
abstract member GetAuthenticatedClientContext : string -> Microsoft.SharePoint.Client.ClientContext
Public Function GetAuthenticatedClientContext (siteUrl As String) As ClientContext

Parameters

siteUrl
String

Returns

ClientContext

Applies to

GetAuthenticatedClientContext(Uri)

public:
 Microsoft::SharePoint::Client::ClientContext ^ GetAuthenticatedClientContext(Uri ^ siteUri);
public Microsoft.SharePoint.Client.ClientContext GetAuthenticatedClientContext (Uri siteUri);
abstract member GetAuthenticatedClientContext : Uri -> Microsoft.SharePoint.Client.ClientContext
Public Function GetAuthenticatedClientContext (siteUri As Uri) As ClientContext

Parameters

siteUri
Uri

Returns

ClientContext

Applies to