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

ClientContextExtensions.IsAppOnly Method

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

Checks if the used ClientContext is app-only

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static bool IsAppOnly(this ClientRuntimeContext clientContext)

Parameters

clientContext

  Type: Microsoft.SharePoint.Client.ClientRuntimeContext
  The ClientContext to inspect

Return Value

Type: bool
True if app-only, false otherwise

See also

© 2018 Microsoft