DirectoryServiceConnection.AccountUsername 属性

获取与该连接凭据关联的用户名。

命名空间:  Microsoft.Office.Server.UserProfiles
程序集:  Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)

语法

声明
Public ReadOnly Property AccountUsername As String
    Get
用法
Dim instance As DirectoryServiceConnection
Dim value As String

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

属性值

类型:System.String

备注

此属性是只有具有管理用户配置文件的权限的用户才能访问。

另请参阅

引用

DirectoryServiceConnection 类

DirectoryServiceConnection 成员

Microsoft.Office.Server.UserProfiles 命名空间