PeopleManager.GetUserProfilePropertyFor 方法

Gets a user profile property for the specified user.

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

语法

声明
Public Function GetUserProfilePropertyFor ( _
    accountName As String, _
    propertyName As String _
) As String
用法
Dim instance As PeopleManager
Dim accountName As String
Dim propertyName As String
Dim returnValue As String

returnValue = instance.GetUserProfilePropertyFor(accountName, _
    propertyName)
public string GetUserProfilePropertyFor(
    string accountName,
    string propertyName
)

参数

  • accountName
    类型:System.String

    The account name of the target user.

  • propertyName
    类型:System.String

    The name of the property to get.

返回值

类型:System.String
The specified profile property for the specified user.

另请参阅

引用

PeopleManager 类

PeopleManager 成员

Microsoft.Office.Server.UserProfiles 命名空间