Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the specified user profile properties for the specified user.
Namespace: Microsoft.SharePoint.Client.UserProfiles
Assembly: Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.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.SharePoint.Client.UserProfiles.UserProfilePropertiesForUser
Return value
Type: System.Collections.Generic.IEnumerable<String>
Remarks
For a code example that shows how to use this method, see How to: Retrieve user profile properties by using the .NET client object model in SharePoint 2013.