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

SecurityExtensions.GetAdministrators Method

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

Get a list of site collection administrators

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

Syntax

public static List<UserEntity> GetAdministrators(this Web web)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Site to operate on

Return Value

Type: List
List of OfficeDevPnP.Core.Entities.UserEntity objects

See also

© 2018 Microsoft