SPWeb.UserIsSiteAdmin property
SharePoint 2013
Gets a Boolean value that indicates whether the user has administrative rights on the website, including ManageSubwebs, ManagePermissions, and ManageWeb permissions.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.Booleantrue if the user has administrative rights for the site collection; otherwise, false.