SP.UserProfiles namespace (sp.userprofiles)
使用PeopleManager和其他对象SP.UserProfiles命名空间中获取用户配置文件和用户属性自定义解决方案中SharePoint 2013和SharePoint 外接程序。
上次修改时间:2015年3月9日
适用范围:apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013_
成员
SP 中的SP.UserProfiles命名空间UserProfiles.js JavaScript库包含下列公共对象和枚举。
对象
对象 |
说明 |
---|---|
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. |
枚举
枚举 |
说明 |
---|---|
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. |
SP 中的内部 APIUserProfiles 命名空间
从本参考,因为它们是保留供内部使用,不应在代码中直接使用SP.UserProfiles命名空间中的以下项目:
Followed对象和枚举。您可以访问关注好友功能和关注内容功能使用SocialFollowingManager对象以及相关的 API sp。社交命名空间。
FollowedContent
FollowedItem
FollowedItemData
FollowResult
FollowedContentExceptionCode
FollowedContentQueryOptions
FollowedItemType
FollowedStatus
FollowResultType
ProfileImageStore对象
内部构造函数
initPropertiesFromJson方法、 writeToXml方法、 newObject方法、 childItemType属性和typeId属性
<Object> PropertyNames对象和 <Object>ObjectPropertyNames对象
另请参阅
其他资源
SharePoint User Profiles JavaScript Reference (sp.userprofiles.js)