PeopleManager.GetUserProfilePropertyFor - Méthode
Obtient la propriété de profil utilisateur spécifié pour l'utilisateur spécifié.
Espace de noms : Microsoft.SharePoint.Client.UserProfiles
Assemblys : Microsoft.SharePoint.Client.UserProfiles.Silverlight (dans Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll); Microsoft.SharePoint.Client.UserProfiles.Phone (dans Microsoft.SharePoint.Client.UserProfiles.Phone.dll) Microsoft.SharePoint.Client.UserProfiles (dans Microsoft.SharePoint.Client.UserProfiles.dll)
Syntaxe
'Déclaration
Public Function GetUserProfilePropertyFor ( _
accountName As String, _
propertyName As String _
) As ClientResult(Of String)
'Utilisation
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
)
Paramètres
- accountName
Type : System.String
- propertyName
Type : System.String
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<String>