Share via


SPPolicyRole.IsSiteAdmin property

Gets or sets a Boolean value that specifies whether the policy role grants site-collection administrator status.

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

Syntax

'Declaration
Public Property IsSiteAdmin As Boolean
    Get
    Set
'Usage
Dim instance As SPPolicyRole
Dim value As Boolean

value = instance.IsSiteAdmin

instance.IsSiteAdmin = value
public bool IsSiteAdmin { get; set; }

Property value

Type: System.Boolean
true to grant site-collection administrator status; otherwise, false.

See also

Reference

SPPolicyRole class

SPPolicyRole members

Microsoft.SharePoint.Administration namespace