PeopleManager.GetUserProfilePropertiesFor 方法
Gets the specified user profile properties for the specified user.
命名空间: Microsoft.Office.Server.UserProfiles
程序集: Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)
语法
声明
Public Function GetUserProfilePropertiesFor ( _
propertiesForUser As UserProfilePropertiesForUser _
) As IEnumerable(Of String)
用法
Dim instance As PeopleManager
Dim propertiesForUser As UserProfilePropertiesForUser
Dim returnValue As IEnumerable(Of String)
returnValue = instance.GetUserProfilePropertiesFor(propertiesForUser)
public IEnumerable<string> GetUserProfilePropertiesFor(
UserProfilePropertiesForUser propertiesForUser
)
参数
propertiesForUser
类型:Microsoft.Office.Server.UserProfiles.UserProfilePropertiesForUserAn object that specifies the target user and the user profile properties to get.
返回值
类型:System.Collections.Generic.IEnumerable<String>
The specified user profile properties for the specified user.