Compartilhar via


SPProcessIdentity.Username Property

Gets or sets the user name for the process identity.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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