Freigeben über


PeopleManager.GetPropertiesFor-Methode

Ruft Benutzereigenschaften für den angegebenen Benutzer ab.

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assemblys:   Microsoft.SharePoint.Client.UserProfiles.Silverlight (in Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll);  Microsoft.SharePoint.Client.UserProfiles.Phone (in Microsoft.SharePoint.Client.UserProfiles.Phone.dll)  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

Syntax

'Declaration
Public Function GetPropertiesFor ( _
    accountName As String _
) As PersonProperties
'Usage
Dim instance As PeopleManager
Dim accountName As String
Dim returnValue As PersonProperties

returnValue = instance.GetPropertiesFor(accountName)
public PersonProperties GetPropertiesFor(
    string accountName
)

Parameter

Rückgabewert

Typ: Microsoft.SharePoint.Client.UserProfiles.PersonProperties

Hinweise

Ein Codebeispiel, bei dem wird gezeigt, wie diese Methode verwenden, finden Sie unter Vorgehensweise: Abrufen von Benutzerprofileigenschaften mithilfe des .NET-Clientobjektmodells in SharePoint 2013.

Siehe auch

Referenz

PeopleManager Klasse

PeopleManager-Member

Microsoft.SharePoint.Client.UserProfiles-Namespace