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

ListExtensions.SetListPermission Method

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

Set custom permission to the list

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

Syntax

public static void SetListPermission(this List list, BuiltInIdentity user, RoleType roleType)

Parameters

list

  Type: Microsoft.SharePoint.Client.List
  List on which permission to be set

user

  Type: OfficeDevPnP.Core.Enums.BuiltInIdentity
  Built in user

roleType

  Type: Microsoft.SharePoint.Client.RoleType
  Role type

Return Value

Type: void

See also

© 2018 Microsoft