This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Recommendation
It is recommended to use SPUserToken.SystemAccount property instead of this property. See http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spusertoken.systemaccount.aspx $0$0 $0 $0$0 $0