Share via


ClientPeoplePicker.InitialUserAccounts property

Specify an initial value of semi-colon delimited user account keys

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

Syntax

'Declaration
Public Property InitialUserAccounts As String
    Get
    Set
'Usage
Dim instance As ClientPeoplePicker
Dim value As String

value = instance.InitialUserAccounts

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

Property value

Type: System.String

Remarks

The preferred way to set this property is through code in OnLoad and only when the page is not being posted back with user input For safety, we may need to defer until after OnInit is fired in case the property is defined with a fixed value in the markup control tag

See also

Reference

ClientPeoplePicker class

ClientPeoplePicker members

Microsoft.SharePoint.WebControls namespace