SPSite.UserIsSiteAdminInSystem property
whether the current user is site collection admin in the system (before readonly mode trim applied)
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property UserIsSiteAdminInSystem As Boolean
Get
'Usage
Dim instance As SPSite
Dim value As Boolean
value = instance.UserIsSiteAdminInSystem
public bool UserIsSiteAdminInSystem { get; }
Property value
Type: System.Boolean