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 user 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 GetPropertiesFor ( _
accountName As String _
) As PersonProperties
'Usage
Dim instance As PeopleManager
Dim accountName As String
Dim returnValue As PersonProperties
returnValue = instance.GetPropertiesFor(accountName)
public PersonProperties GetPropertiesFor(
string accountName
)
Parameters
- accountName
Type: System.String
Return value
Type: Microsoft.SharePoint.Client.UserProfiles.PersonProperties
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.