Share via


User.IsSiteAdmin property

Gets or sets a Boolean value that specifies whether the user is a site collection administrator.

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

Syntax

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

value = instance.IsSiteAdmin

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

Property value

Type: System.Boolean
true if the user is a site collection administrator; otherwise, false.

See also

Reference

User class

User members

Microsoft.SharePoint.Client namespace