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

SecurityExtensions.RemovePermissionLevelFromGroup Method

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

Removes a permission level from a group

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

Syntax

public static void RemovePermissionLevelFromGroup(this SecurableObject securableObject, String groupName, RoleType permissionLevel, Boolean removeAllPermissionLevels = False)

Parameters

securableObject

  Type: Microsoft.SharePoint.Client.SecurableObject
  Web/List/Item to operate against

groupName

  Type: System.String
  name of the group

permissionLevel

  Type: Microsoft.SharePoint.Client.RoleType
  Permission level to remove. If null all permission levels are removed

(optional) removeAllPermissionLevels

  Type: System.Boolean
  Set to true to remove all permission level.

Return Value

Type: void

See also

© 2018 Microsoft