Share via


SPUserToken.IsSystemAccount property

Gets a value that indicates whether token represents SystemAccount system account.

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

Syntax

'Declaration
Public ReadOnly Property IsSystemAccount As Boolean
    Get
'Usage
Dim instance As SPUserToken
Dim value As Boolean

value = instance.IsSystemAccount
public bool IsSystemAccount { get; }

Property value

Type: System.Boolean
A value that indicates whether token represents SystemAccount system account.

Remarks

This value is not cached. The caller must cache it to save CPU cycles.

See also

Reference

SPUserToken class

SPUserToken members

Microsoft.SharePoint namespace