SPFarm.DefaultServiceAccount Property
Gets the default service process account.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property DefaultServiceAccount As SPProcessAccount
Get
'Usage
Dim instance As SPFarm
Dim value As SPProcessAccount
value = instance.DefaultServiceAccount
public SPProcessAccount DefaultServiceAccount { get; }
Property Value
Type: Microsoft.SharePoint.Administration.SPProcessAccount
SPProcessAccount is the default service process account.