Share via


SP.UserProfiles.PersonProperties object (sp.userprofiles)

Represents user properties.

Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.UserProfiles.PersonProperties()

Members

The PersonProperties object has the following members.

Constructor

The PersonProperties object has the following constructor.

Constructor

Description

PersonProperties

Methods

The PersonProperties object has the following methods.

Method

Description

initPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

Properties

The PersonProperties object has the following properties.

Property

Description

accountName

Gets the user's account name.

directReports

Gets the account names of the user's direct reports.

displayName

Gets the user's display name.

email

Gets the user's email address.

extendedManagers

Gets the account names of the user's manager hierarchy.

extendedReports

Gets the account names of the user's extended reports.

isFollowed

Gets a Boolean value that indicates whether the user is being followed by the current user.

latestPost

Gets the user's latest microblog post.

peers

Gets the account names of the user's peers.

personalUrl

Gets the absolute URL of the user's personal site.

pictureUrl

Gets the URL of the user's profile picture.

title

Gets the user's title.

userProfileProperties

Gets user profile properties for the user.

userUrl

Gets the URL of the user's profile page.

Remarks

To get a PersonProperties object, use the PeopleManager.getMyProperties method or PeopleManager.getPropertiesFor method.

See also

Other resources

SP.UserProfiles namespace