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)
Available in Sandboxed Solutions: No

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