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

SecurityExtensions.GroupExists Method

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

Checks if a group exists

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

Syntax

public static bool GroupExists(this Web web, String groupName)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Web to operate against

groupName

  Type: System.String
  Name of the group

Return Value

Type: bool
True if the group exists, false otherwise

See also

© 2018 Microsoft