Provides methods for operations related to people.
Note: The SocialFollowingManager object is the recommended object for performing Following People and Following Content tasks.
However, PeopleManager provides some methods that SocialFollowingManager doesn�t.
Gets suggestions for who the current user might want to follow.
Note: The recommended API to use for this task is SocialFollowingManager.getSuggestions.
Returns list of PersonProperties objects
public isObjectPropertyInstantiated(propertyName: string): boolean
Parameters
propertyName: string
Returns
boolean
public isPropertyAvailable(propertyName: string): boolean
Parameters
propertyName: string
Returns
boolean
public refreshLoad()
public retrieve()
public retrieve(propertyNames: Array<string>)
Parameters
propertyNames: Array<string>
public setMyProfilePicture(data: any)
Uploads and sets the user profile picture.
Pictures in bmp, jpg and png formats and up to 5,000,000 bytes are supported.
A user can upload a picture only to the user's own profile.
Parameters
data: any
Binary content of an image file
public set_objectVersion(value: string)
Parameters
value: string
public stopFollowing(accountName: string)
Parameters
accountName: string
public stopFollowingTag(tagId: string)
Remove the specified tag from the current user's list of followed tags.