SP。社会的命名空间 (sp.userprofiles)
与社会供给进行交互并按照从SharePoint Server 2013和SharePoint 外接程序的自定义解决方案的人员和内容使用SP.Social命名空间中的SocialFeedManager、 SocialFollowingManager和其他对象。
**上次修改时间:**2015年3月9日
**适用范围:**apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
成员
SP.Social命名空间在 SP 中。UserProfiles.js JavaScript库包含下列公共对象和枚举。
对象
对象 |
说明 |
---|---|
Represents a user, document, site, or tag in social feed and following activities. |
|
Identifies a user, document, site, or tag in client-side requests for social feed and following activities. |
|
Represents an image, video, or document in a microblog post. |
|
Represents the click action for an attachment in a microblog post. |
|
Represents a link to a document, site, or website, a user mention, or a tag reference in a microblog post. |
|
Associates a substring of a microblog post's text with a URI or other data. Used for rendering post content. |
|
Represents error information for a social operation. |
|
Represents a social feed. |
|
Provides methods for creating posts, modifying threads, and accessing social feeds. |
|
Represents options that you can specify when retrieving a feed. |
|
Provides methods for managing a user's list of followed actors (users, documents, sites, and tags). |
|
Represents a link to the source of a microblog post. |
|
Represents a microblog post. |
|
Represents a set of actors that relate to a microblog post in a particular way, such as the likers of a post. |
|
Represents content and related information for a new microblog post. |
|
Represents a referenced post in an external thread. |
|
Represents a thread in a social feed. |
枚举
枚举 |
说明 |
---|---|
Specifies a SocialActor type. |
|
Specifies a set of SocialActor types. |
|
Specifies the type of action that a SocialAttachmentAction performs. |
|
Specifies the type of SocialAttachment in a microblog post. |
|
Represents the type of SocialDataItem link. |
|
Specifies the type of data for a SocialDataOverlay object. |
|
Specifies attributes that apply to a SocialFeed object. |
|
Specifies the sort order for the threads in a social feed. |
|
Specifies a SocialFeed type. |
|
Specifies attributes that apply to a SocialPost object. |
|
Specifies a SocialPost type. |
|
Specifies an exception or status code. |
|
Specifies attributes that apply to a SocialThread object. |
|
Specifies the type of thread in the SocialThread.ThreadType property. |
内部 API 在 SP 中。社会的命名空间
SP.Social命名空间中的以下项目是从该引用,因为它们保留供内部使用,不应从代码中直接使用:
SocialPostDefinitionData对象、 SocialPostDefinitionDataItem对象和SocialPostDefinitionDataItemType枚举
initPropertiesFromJson方法、 writeToXml方法、 newObject方法和typeId属性
**<Object>**PropertyNames对象
另请参阅
其他资源
SharePoint User Profiles JavaScript Reference (sp.userprofiles.js)