PeopleManager.GetPropertiesFor method

Gets user 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 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

    The account name of the target user.

Return value

Type: Microsoft.Office.Server.UserProfiles.PersonProperties
User properties for the specified user.

See also

Reference

PeopleManager class

PeopleManager members

Microsoft.Office.Server.UserProfiles namespace