Share via


UserProfilePropertiesForUser.AccountName property

Gets or sets the account name of the target user.

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

Syntax

'Declaration
Public Property AccountName As String
    Get
    Set
'Usage
Dim instance As UserProfilePropertiesForUser
Dim value As String

value = instance.AccountName

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

Property value

Type: System.String
The account name of the target user.

See also

Reference

UserProfilePropertiesForUser class

UserProfilePropertiesForUser members

Microsoft.SharePoint.Client.UserProfiles namespace