PeopleManager.GetUserProfilePropertyFor(String, String) PeopleManager.GetUserProfilePropertyFor(String, String) PeopleManager.GetUserProfilePropertyFor(String, String) Method

Definition

Gets a user profile property for the specified user.

public:
 System::String ^ GetUserProfilePropertyFor(System::String ^ accountName, System::String ^ propertyName);
[Microsoft.SharePoint.Client.ClientCallableMethod(OperationType=Microsoft.SharePoint.Client.OperationType.Read)]
public string GetUserProfilePropertyFor (string accountName, string propertyName);
Public Function GetUserProfilePropertyFor (accountName As String, propertyName As String) As String
Parameters
accountName
String String String

The account name of the target user.

propertyName
String String String

The name of the property to get.

Returns

The specified profile property for the specified user.

Applies to