다음을 통해 공유


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