Share via


LookupSPPrincipalId.UserName property

Gets or sets the name of the SharePoint principal user or group with permissions to control security.

Namespace:  Microsoft.SharePoint.WorkflowServices.Activities
Assembly:  Microsoft.SharePoint.WorkflowServices.Activities (in Microsoft.SharePoint.WorkflowServices.Activities.dll)

Syntax

'Declaration
<RequiredArgumentAttribute> _
Public Property UserName As InArgument(Of String)
    Get
    Set
'Usage
Dim instance As LookupSPPrincipalId
Dim value As InArgument(Of String)

value = instance.UserName

instance.UserName = value
[RequiredArgumentAttribute]
public InArgument<string> UserName { get; set; }

Property value

Type: System.Activities.InArgument<String>

Remarks

The user name can be in various formats, such as a display name, login name, email address, or the principal ID itself.

See also

Reference

LookupSPPrincipalId class

LookupSPPrincipalId members

Microsoft.SharePoint.WorkflowServices.Activities namespace