PeopleManager.GetUserProfilePropertiesFor método
Obtém o usuário especificado propriedades de perfil 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 GetUserProfilePropertiesFor ( _
propertiesForUser As UserProfilePropertiesForUser _
) As IEnumerable(Of String)
'Uso
Dim instance As PeopleManager
Dim propertiesForUser As UserProfilePropertiesForUser
Dim returnValue As IEnumerable(Of String)
returnValue = instance.GetUserProfilePropertiesFor(propertiesForUser)
public IEnumerable<string> GetUserProfilePropertiesFor(
UserProfilePropertiesForUser propertiesForUser
)
Parâmetros
- propertiesForUser
Tipo: Microsoft.SharePoint.Client.UserProfiles.UserProfilePropertiesForUser
Valor retornado
Tipo: System.Collections.Generic.IEnumerable<String>
Comentários
Para um código exemplo que mostra como usar esse método, consulte How to: Retrieve user profile properties by using the .NET client object model in SharePoint 2013.