SPProcessIdentity.Username property

Gets or sets the user name for the process identity.

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

Syntax

'Declaration
Public Property Username As String
    Get
    Set
'Usage
Dim instance As SPProcessIdentity
Dim value As String

value = instance.Username

instance.Username = value
public string Username { get; set; }

Property value

Type: System.String
A string that contains the user name.

See also

Reference

SPProcessIdentity class

SPProcessIdentity members

Microsoft.SharePoint.Administration namespace