SPFarm.DefaultServiceAccount property

Gets the default service process account.

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

public SPProcessAccount DefaultServiceAccount { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPProcessAccount
SPProcessAccount is the default service process account.
Show: