SP.UserProfiles.PeopleManager-Objekt (sp.userprofiles)
Stellt Methoden für Vorgänge bereit, die sich auf Personen beziehen.
**Letzte Änderung:**Montag, 9. März 2015
**Gilt für:**apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.UserProfiles.PeopleManager(context)
Member
Konstruktoren
Das PeopleManager-Objekt verfügt über den folgenden Konstruktor.
Eigenschaft |
Beschreibung |
---|---|
Initializes a new instance of the PeopleManager object. |
Methoden
Das PeopleManager-Objekt verfügt über die folgenden Methoden.
Methode |
Beschreibung |
---|---|
Checks whether the specified user is following the current user. |
|
Checks whether the current user is following the specified user. |
|
Add the specified user to the current user's list of followed users. |
|
Add the specified tag to the current user's list of followed tags. |
|
Gets tags that the user is following. |
|
Gets the people who are following the specified user. |
|
Get the people who are following the current user. |
|
Gets user properties for the current user. |
|
Gets suggestions for who the current user might want to follow. |
|
Gets the people who the specified user is following. |
|
Gets the people who the current user is following. |
|
Gets user properties for the specified user. |
|
Gets the most popular tags. getTrendingTags is a static method. |
|
Gets the specified user profile properties for the specified user. |
|
Gets the specified user profile property for the specified user. |
|
Removes the specified user from the user's list of suggested people to follow. |
|
Checks whether the first user is following the second user. |
|
Uploads and sets the user profile picture. |
|
Remove the specified user from the current user's list of followed users. |
|
Remove the specified tag from the current user's list of followed tags. |
Eigenschaften
Das PeopleManager-Objekt verfügt über die folgenden Eigenschaften.
Eigenschaft |
Beschreibung |
---|---|
Gets the URL of the edit profile page for the current user. |
|
Gets a Boolean value that indicates whether the current user's People I'm Following list is public. |
Hinweise
Das SocialFollowingManager-Objekt ist das empfohlene Objekt für Following People- und Following Content-Aufgaben. PeopleManager stellt jedoch einige Methoden bereit, die SocialFollowingManager nicht hat. Weitere Informationen finden Sie unter Allgemeine Programmierungsaufgaben zum Folgen von Personen.
Siehe auch
Weitere Ressourcen
Arbeiten mit Benutzerprofilen in SharePoint 2013