PeopleManager.GetUserProfilePropertiesFor method
Gets the specified user profile properties for the specified user.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function GetUserProfilePropertiesFor ( _
propertiesForUser As UserProfilePropertiesForUser _
) As IEnumerable(Of String)
'Usage
Dim instance As PeopleManager
Dim propertiesForUser As UserProfilePropertiesForUser
Dim returnValue As IEnumerable(Of String)
returnValue = instance.GetUserProfilePropertiesFor(propertiesForUser)
public IEnumerable<string> GetUserProfilePropertiesFor(
UserProfilePropertiesForUser propertiesForUser
)
Parameters
propertiesForUser
Type: Microsoft.Office.Server.UserProfiles.UserProfilePropertiesForUserAn object that specifies the target user and the user profile properties to get.
Return value
Type: System.Collections.Generic.IEnumerable<String>
The specified user profile properties for the specified user.