SPSite.SystemAccount Property

Gets the system account of the site collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public SPUser SystemAccount { get; }

Property Value

Type: Microsoft.SharePoint.SPUser
An SPUser object that represents the system account.

The system account is a special SPUser object that has full control over all content in the site collection

Show: