SP へUserProfiles.PeopleManager オブジェクト (sp.userprofiles)

ユーザーに関連する操作のメソッドを提供します。

**適用対象:**apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.UserProfiles.PeopleManager(context)

メンバー

コンストラクター

PeopleManagerオブジェクトでは、次のコンスがあります。

プロパティ

説明

PeopleManager

Initializes a new instance of the PeopleManager object.

メソッド

PeopleManagerオブジェクトでは、次の方法があります。

メソッド

説明

amIFollowedBy

Checks whether the specified user is following the current user.

amIFollowing

Checks whether the current user is following the specified user.

フォロー

Add the specified user to the current user's list of followed users.

followTag

Add the specified tag to the current user's list of followed tags.

getFollowedTags

Gets tags that the user is following.

getFollowersFor

Gets the people who are following the specified user.

getMyFollowers

Get the people who are following the current user.

getMyProperties

Gets user properties for the current user.

getMySuggestions

Gets suggestions for who the current user might want to follow.

getPeopleFollowedBy

Gets the people who the specified user is following.

getPeopleFollowedByMe

Gets the people who the current user is following.

getPropertiesFor

Gets user properties for the specified user.

getTrendingTags

Gets the most popular tags. getTrendingTags is a static method.

getUserProfilePropertiesFor

Gets the specified user profile properties for the specified user.

getUserProfilePropertyFor

Gets the specified user profile property for the specified user.

hideSuggestion

Removes the specified user from the user's list of suggested people to follow.

isFollowing

Checks whether the first user is following the second user.

setMyProfilePicture

Uploads and sets the user profile picture.

stopFollowing

Remove the specified user from the current user's list of followed users.

stopFollowingTag

Remove the specified tag from the current user's list of followed tags.

プロパティ

PeopleManagerオブジェクトでは、次のプロパティがあります。

プロパティ

説明

editProfileLink

Gets the URL of the edit profile page for the current user.

isMyPeopleListPublic

Gets a Boolean value that indicates whether the current user's People I'm Following list is public.

注釈

SocialFollowingManagerオブジェクトは、次のユーザーとコンテンツの次のタスクを実行するための推奨されるオブジェクトです。ただし、 PeopleManagerSocialFollowingManagerがいくつかの方法が用意されています。詳細については、次の方のための一般的なプログラミング タスクを参照してください。

関連項目

その他の技術情報

の SPユーザーの名前空間

SharePoint 2013 のユーザー プロファイルの操作

SharePoint 2013 で他のユーザーをフォローする

SharePoint 2013 でのコンテンツのフォロー