This documentation is archived and is not being maintained.

SPWeb.UserIsWebAdmin Property

Windows SharePoint Services 3

Gets a Boolean value that indicates whether the user is a member of the Administrator site group for the site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool UserIsWebAdmin { get; }

Property Value

Type: System.Boolean
true if the user is a member of the Administrator site group for the site; otherwise, false.
Show: