SPProcessIdentity.ProcessAccount property

Gets or sets a representation of the account that the current SPProcessIdentity object runs as.

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

Syntax

'Declaration
Public Property ProcessAccount As SPProcessAccount
    Get
    Set
'Usage
Dim instance As SPProcessIdentity
Dim value As SPProcessAccount

value = instance.ProcessAccount

instance.ProcessAccount = value
public SPProcessAccount ProcessAccount { get; set; }

Property value

Type: Microsoft.SharePoint.Administration.SPProcessAccount
An SPProcessAccount object that represents the account that the SPProcessIdentity object runs as.

See also

Reference

SPProcessIdentity class

SPProcessIdentity members

Microsoft.SharePoint.Administration namespace