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 property for the specified user.
Namespace: Microsoft.SharePoint.Client.UserProfiles
Assembly: Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)
Syntax
'Declaration
Public Function GetUserProfilePropertyFor ( _
accountName As String, _
propertyName As String _
) As ClientResult(Of String)
'Usage
Dim instance As PeopleManager
Dim accountName As String
Dim propertyName As String
Dim returnValue As ClientResult(Of String)
returnValue = instance.GetUserProfilePropertyFor(accountName, _
propertyName)
public ClientResult<string> GetUserProfilePropertyFor(
string accountName,
string propertyName
)
Parameters
- accountName
Type: System.String
- propertyName
Type: System.String
Return value
Type: Microsoft.SharePoint.Client.ClientResult<String>