SP.UserProfiles namespace (sp.userprofiles)
Use PeopleManager and other objects in the SP.UserProfiles namespace to get user profiles and user properties in custom solutions for SharePoint 2013 and apps for SharePoint.
Last modified: June 25, 2013
Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
The SP.UserProfiles namespace in the SP.UserProfiles.js JavaScript library contains the following public objects and enumerations.
Objects
|
Object |
Description |
|---|---|
|
Represents a hash tag in the collection of trending tags. |
|
|
Represents a collection of hash tags in microblog posts. This collection is returned by the getTrendingTags method. |
|
|
Provides methods for operations related to people. |
|
|
Represents user properties. |
|
|
Provides an alternate entry point to user profiles rather than calling methods directly. |
|
|
Represents a client-side user profile for a person. |
|
|
Represents a set of user profile properties for a specified user. |
Enumerations
|
Enumeration |
Description |
|---|---|
|
Specifies types of changes made in the user profile store. |
|
|
Specifies types of user-related objects that can be changed in the user profile store. |
|
|
Specifies the capabilities of a personal site. |
|
|
Specifies an exception or status code for the state of a personal site instantiation. |
The following items from the SP.UserProfiles namespace are removed from this reference because they are reserved for internal use and not intended to be used directly from your code:
-
Followed objects and enumerations. You can access Following People features and Following Content features by using the SocialFollowingManager object and related API in the SP.Social namespace.
-
FollowedContent
-
FollowedItem
-
FollowedItemData
-
FollowResult
-
FollowedContentExceptionCode
-
FollowedContentQueryOptions
-
FollowedItemType
-
FollowedStatus
-
FollowResultType
-
-
ProfileImageStore object
-
Internal constructors
-
initPropertiesFromJson methods, writeToXml methods, newObject methods, childItemType properties, and typeId properties
-
<Object> PropertyNames objects and <Object>ObjectPropertyNames objects