Share via


UserProfile.AccountName property

Gets the account name of the user profile.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public ReadOnly Property AccountName As String
    Get
'Usage
Dim instance As UserProfile
Dim value As String

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

Property value

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

See also

Reference

UserProfile class

UserProfile members

Microsoft.Office.Server.UserProfiles namespace