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)
Available in Sandboxed Solutions: No
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
The SPUserToken object that is associated with the SystemAccount.