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

SecurityExtensions.RemoveAdministrator Method

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

Removes an administrators from the site collection

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

Syntax

public static void RemoveAdministrator(this Web web, UserEntity admin)

Parameters

web

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

admin

  Type: OfficeDevPnP.Core.Entities.UserEntity
   that describes the admin to be removed

Return Value

Type: void

See also

© 2018 Microsoft