Share via


DirectoryServiceConnection.AccountUsername property

Gets the user name associated with the connection credentials.

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

Syntax

'Declaration
Public ReadOnly Property AccountUsername As String
    Get
'Usage
Dim instance As DirectoryServiceConnection
Dim value As String

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

Property value

Type: System.String

Remarks

This property is accessible only to users who have permission to manage user profiles.

See also

Reference

DirectoryServiceConnection class

DirectoryServiceConnection members

Microsoft.Office.Server.UserProfiles namespace