PeopleManager.GetUserProfilePropertyFor método
Obtém a propriedade de perfil de usuário especificado para o usuário especificado.
Namespace: Microsoft.SharePoint.Client.UserProfiles
Assemblies: Microsoft.SharePoint.Client.UserProfiles.Silverlight (em Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll); Microsoft.SharePoint.Client.UserProfiles.Phone (em Microsoft.SharePoint.Client.UserProfiles.Phone.dll) Microsoft.SharePoint.Client.UserProfiles (em Microsoft.SharePoint.Client.UserProfiles.dll)
Sintaxe
'Declaração
Public Function GetUserProfilePropertyFor ( _
accountName As String, _
propertyName As String _
) As ClientResult(Of String)
'Uso
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
)
Parâmetros
- accountName
Tipo: System.String
- propertyName
Tipo: System.String
Valor retornado
Tipo: Microsoft.SharePoint.Client.ClientResult<String>