Share via


SPSite.SystemAccount property

Gets the system account of the site collection.

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

Syntax

'Declaration
Public ReadOnly Property SystemAccount As SPUser
    Get
'Usage
Dim instance As SPSite
Dim value As SPUser

value = instance.SystemAccount
public SPUser SystemAccount { get; }

Property value

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

Remarks

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

See also

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace