共用方式為


SPUserToken.SystemAccount property

取得與SystemAccount相關聯的SPUserToken物件。建議您,使用這個屬性取得系統帳戶,而不是使用SystemAccount屬性。

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

Syntax

'宣告
Public Shared ReadOnly Property SystemAccount As SPUserToken
    Get
'用途
Dim value As SPUserToken

value = SPUserToken.SystemAccount
public static SPUserToken SystemAccount { get; }

Property value

Type: Microsoft.SharePoint.SPUserToken
SPUserToken 物件與SystemAccount相關聯。

請參閱

參照

SPUserToken class

SPUserToken members

Microsoft.SharePoint namespace