Share via


SPUserToken.SystemAccount property

Gets the SPUserToken object that is associated with the SystemAccount. It is recommended that you use this property to get the system account instead of using the SystemAccount property.

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

Syntax

'Declaration
Public Shared ReadOnly Property SystemAccount As SPUserToken
    Get
'Usage
Dim value As SPUserToken

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

Property value

Type: Microsoft.SharePoint.SPUserToken
A SPUserToken object that is associated with the SystemAccount.

See also

Reference

SPUserToken class

SPUserToken members

Microsoft.SharePoint namespace