Partilhar via


SPWeb.SiteAdministrators Property

Gets the collection of the website administrators.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property SiteAdministrators As SPUserCollection
    Get
'Usage
Dim instance As SPWeb
Dim value As SPUserCollection

value = instance.SiteAdministrators
public SPUserCollection SiteAdministrators { get; }

Property Value

Type: Microsoft.SharePoint.SPUserCollection
An SPUserCollection object that represents the website administrators.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace