SPUser.IsSiteAdmin property

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

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

public bool IsSiteAdmin { get; set; }

Property value

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