共用方式為


SPSite.SystemAccount property

Gets the system account of the site collection.

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

Syntax

'宣告
Public ReadOnly Property SystemAccount As SPUser
    Get
'用途
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.

備註

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

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace