Référence de l'API REST de suivi des personnes et du contenu pour SharePoint
Recherchez des points de terminaison REST SharePoint pour les personnes et les contenus suivants à l'aide des ressources SocialRestFollowingManager et PeopleManager. Vous pouvez utiliser le service REST (Representational State Transfer) SharePoint pour effectuer les mêmes tâches que celles possibles avec les modèles d'objet client .NET et le modèle d'objet JavaScript. Pour utiliser le service REST, créez et envoyez les requêtes HTTP GET et POST aux points de terminaison des ressources qui représentent les tâches que vous voulez faire. Ces points de terminaison des ressources correspondent à des objets, propriétés et méthodes SharePoint.
Le point de terminaison URI pour la plupart des tâches suivantes commence par la ressource SocialRestFollowingManager ( social.following
) et se termine par la ressource qui effectue la tâche spécifique. Par exemple, vous utilisez l’URI http://www.contoso.com/_api/social.following/follow
pour que l’utilisateur actuel commence à suivre des personnes ou du contenu, et l’URI https://www.contoso.com/sites/devSite/_api/social.following/followed
pour obtenir les personnes ou le contenu que l’utilisateur actuel suit.
Notes
Cet article présente l’URI de point de terminaison et les composants de paramètre de demandes HTTP. Pour obtenir des exemples de demandes complètes, voir Guide pratique pour suivre des documents, des sites et des étiquettes à l’aide du service REST dans SharePoint.
Nous recommandons d'utiliser l'API SocialRestFollowingManager pour les tâches de suivi des personnes et du contenu, mais vous pouvez utiliser la ressource PeopleManager pour certaines tâches de suivi de personnes non prises en charge par SocialRestFollowingManager. Par exemple, vous pouvez déterminer si une personne suit l'utilisateur actuel ou obtenir les adeptes d'un autre utilisateur. Pour ces tâches, vous envoyez des demandes GET HTTP aux URI de point de terminaison qui commencent par la ressource PeopleManager ( sp.userprofiles.peoplemanager
) et se terminent par la ressource qui effectue la tâche spécifique.Si le point de terminaison accepte un paramètre, les métadonnées de paramètre sont envoyées dans l'URI ou dans le corps de la requête au format XML ou JavaScript Object Notation (JSON). Vous pouvez effectuer une requête HTTP dans n'importe quelle langage, y compris JavaScript et C#. Par défaut, le service REST renvoie des réponses mises en forme avec le protocole Atom, mais vous pouvez demander le format JSON à l'aide des en-têtes HTTP Accept. Voir Programmation à l'aide du service SharePoint REST.
Points de terminaison de ressources pour les tâches de suivi des personnes et du contenu
Follow
StopFollowing
IsFollowed
My
My/FollowedDocumentsUri
My/FollowedSitesUri
My/Followed
My/FollowedCount
My/Followers
My/Suggestions
GetMySuggestions
IsMyPeopleListPublic
AmIFollowedBy
GetPeopleFollowedBy
GetFollowersFor
Suivre
Permet à l’utilisateur actuel de commencer à suivre un utilisateur, un document, un site ou une balise.
Structure d’URI de point de terminaison
PUBLIERhttp://<siteCollection>/<site>/_api/social.following/follow
Paramètre de requête
actor
Type : SP.Social.SocialActorInfo
L'acteur qu'il faut commencer à suivre.
Acteur utilisateur dans l’URI
http://<siteCollection>/<site>/_api/social.following/follow(ActorType=0,AccountName=@v,Id=null)?@v='domain\\user'
Acteur utilisateur dans le corps de la requête
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":0,
"AccountName":"domain\\user",
"Id":null
}
Si vous utilisez un modèle d’identité basé sur des revendications, vous pouvez passer le nom du compte en utilisant le format @v='i:0"%23".f|membership|user@domain.com'
dans la chaîne de requête ou "i:0#.f|membership|user@domain.com"
dans le corps de la requête.
Acteur de document dans l’URI
http://<siteCollection>/<site>/_api/social.following/follow(ActorType=1,ContentUri=@v,Id=null)?@v='http://server/Shared%20Documents/fileName.docx'
Acteur de document dans le corps de la requête
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":1,
"ContentUri":"http://server/Shared%20Documents/fileName.docx",
"Id":null
}
Acteur de site dans l’URI
http://<siteCollection>/<site>/_api/social.following/follow(ActorType=2,ContentUri=@v,Id=null)?@v='http://server/site'
Acteur de site dans le corps de la demande
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":2,
"ContentUri":"http://siteCollection/site",
"Id":null
}
Acteur de balise dans l’URI
http://<siteCollection>/<site>/_api/social.following/follow(ActorType=3,TagGuid='19a4a484-c1dc-4bc5-8c93-bb96245ce928',Id=null)
Tag actor dans le corps de la requête
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":3,
"TagGuid":"19a4a484-c1dc-4bc5-8c93-bb96245ce928",
"Id":null
}
Vous avez besoin du GUID de balise pour commencer à suivre une balise. Vous ne pouvez pas obtenir le GUID en utilisant le service REST, mais vous pouvez utiliser le modèle objet client .NET ou le modèle objet JavaScript. Voir Procédure : obtenir un GUID de balise basé sur le nom de la balise à l’aide du modèle objet JavaScript.
Réponse
Follow
Type : SP.Social.SocialFollowResult
Statut de la demande : 0 = OK ; 1 = AlreadyFollowing ; 2 = LimitReached ; ou 3 = InternalError.
La réponse suivante indique que la demande a réussi.
{"d":{"Follow":0}}
StopFollowing
Permet à l’utilisateur actuel de cesser de suivre un utilisateur, un document, un site ou une balise.
Structure d’URI de point de terminaison
PUBLIERhttp://<siteCollection>/<site>/_api/social.following/stopfollowing
Paramètre de requête
actor
Type : SP.Social.SocialActorInfo
L'acteur qu'il faut arrêter de suivre.
Acteur utilisateur dans l’URI
http://<siteCollection>/<site>/_api/social.following/stopfollowing(ActorType=0,AccountName=@v,Id=null)?@v='domain\\user'
Acteur utilisateur dans le corps de la requête
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":0,
"AccountName":"domain\\user",
"Id":null
}
Si vous utilisez un modèle d’identité basé sur des revendications, vous pouvez passer le nom du compte en utilisant le format @v='i:0"%23".f|membership|user@domain.com'
dans la chaîne de requête ou "i:0#.f|membership|user@domain.com"
dans le corps de la requête.
Acteur de document dans l’URI
http://<siteCollection>/<site>/_api/social.following/stopfollowing(ActorType=1,ContentUri=@v,Id=null)?@v='http://server/Shared%20Documents/fileName.docx'
Acteur de document dans le corps de la requête
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":1,
"ContentUri":"http://server/Shared%20Documents/fileName.docx",
"Id":null
}
Acteur de site dans l’URI
http://<siteCollection>/<site>/_api/social.following/stopfollowing(ActorType=2,ContentUri=@v,Id=null)?@v='http://server/site'
Acteur de site dans le corps de la demande
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":2,
"ContentUri":"http://siteCollection/site",
"Id":null
}
Acteur de balise dans l’URI
http://<siteCollection>/<site>/_api/social.following/stopfollowing(ActorType=3,TagGuid='19a4a484-c1dc-4bc5-8c93-bb96245ce928',Id=null)
Tag actor dans le corps de la requête
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":3,
"TagGuid":"19a4a484-c1dc-4bc5-8c93-bb96245ce928",
"Id":null
}
Vous avez besoin du GUID de balise pour commencer à suivre une balise. Vous ne pouvez pas obtenir le GUID en utilisant le service REST, mais vous pouvez utiliser le modèle objet client .NET ou le modèle objet JavaScript. Voir Procédure : obtenir un GUID de balise basé sur le nom de la balise à l’aide du modèle objet JavaScript.
Réponse
Aucun.
{"d":{"StopFollowing":null}}
IsFollowed
Indique si l’utilisateur actuel suit un utilisateur, un document, un site ou une balise spécifié(e).
Structure d’URI de point de terminaison
PUBLIERhttp://<siteCollection>/<site>/_api/social.following/isfollowed
Paramètre de requête
actor
Type : SP.Social.SocialActorInfo
L'acteur pour lequel il faut rechercher l'état de suivi.
Acteur utilisateur dans l’URI
http://<siteCollection>/<site>/_api/social.following/isfollowed(ActorType=0,AccountName=@v,Id=null)?@v='domain\\user'
Acteur utilisateur dans le corps de la requête
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":0,
"AccountName":"domain\\user",
"Id":null
}
Si vous utilisez un modèle d’identité basé sur des revendications, vous pouvez passer le nom du compte en utilisant le format @v='i:0"%23".f|membership|user@domain.com'
dans la chaîne de requête ou "i:0#.f|membership|user@domain.com"
dans le corps de la requête.
Acteur de document dans l’URI
http://<siteCollection>/<site>/_api/social.following/isfollowed(ActorType=1,ContentUri=@v,Id=null)?@v='https://domain.sharepoint.com/Shared%20Documents/fileName.docx'
Acteur de document dans le corps de la requête
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":1,
"ContentUri":"http://server/Shared%20Documents/fileName.docx",
"Id":null
}
Acteur de site dans l’URI
http://<siteCollection>/<site>/_api/social.following/isfollowed(ActorType=2,ContentUri=@v,Id=null)?@v='http://domain.sharepoint.com'
Acteur de site dans le corps de la demande
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":2,
"ContentUri":"http://siteCollection/site",
"Id":null
}
Acteur de balise dans l’URI
http://<siteCollection>/<site>/_api/social.following/isfollowed(ActorType=3,TagGuid='19a4a484-c1dc-4bc5-8c93-bb96245ce928',Id=null)
Tag actor dans le corps de la requête
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":3,
"TagGuid":"19a4a484-c1dc-4bc5-8c93-bb96245ce928",
"Id":null
}
Vous avez besoin du GUID de balise pour commencer à suivre une balise. Vous ne pouvez pas obtenir le GUID en utilisant le service REST, mais vous pouvez utiliser le modèle objet client .NET ou le modèle objet JavaScript. Voir Procédure : obtenir un GUID de balise basé sur le nom de la balise à l’aide du modèle objet JavaScript.
Réponse
IsFollowed
Type : bool
true si l'utilisateur actuel suit l'acteur ; sinon, false.
La réponse suivante indique que l'utilisateur ne suit pas l'acteur spécifié.
{"d":{"IsFollowed":false}}
My
Obtient des informations sur l'instance SocialRestFollowingManager et des informations sur l'utilisateur actuel.
Structure d’URI de point de terminaison
GEThttp://<siteCollection>/<site>/_api/social.following/my
Paramètre de requête
Aucun.
Réponse
Type : SP.Social.SocialRestFollowingManager
Informations sur l'instance SocialRestFollowingManager et les propriétés MyFollowedDocumentsUri, MyFollowedSitesUri, et SocialActor de l'utilisateur actuel.
La réponse suivante représente l'instance SocialRestFollowingManager de l'utilisateur actuel.
{"d":{
"__metadata":{
"id":"https://somecompany-a2ef5dfc05b1da.sharepoint.com/appInstance/_api/social.following/my/following",
"uri":"https://somecompany-a2ef5dfc05b1da.sharepoint.com/appInstance/_api/social.following/my/following",
"type":"SP.Social.SocialRestFollowingManager"
},
"MyFollowedDocumentsUri":"https://somecompany-my.sharepoint.com/personal/someone_somecompany_onmicrosoft_com/Social/FollowedContent.aspx",
"MyFollowedSitesUri":"https://somecompany-my.sharepoint.com/personal/someone_somecompany_onmicrosoft_com/Social/Sites.aspx",
"SocialActor":
{"__metadata":{"type":"SP.Social.SocialActor"},
"AccountName":"i:0#.f|membership|someone@somecompany.onmicrosoft.com",
"ActorType":0,
"CanFollow":false,
"ContentUri":null,
"EmailAddress":"someone@somecompany.onmicrosoft.com",
"FollowedContentUri":null,
"Id":"1.0f435d74164149cfa76e19ad21dc7c2e.8a7874906a9348189f2fb83295b598d5.06ff4087162c48dcb43828e4ddf82c38.98b9fc73d5224265b039586688b15b98",
"ImageUri":"https://somecompany-my.sharepoint.com/User%20Photos/Profile%20Pictures/someone_somecompany_onmicrosoft_com_MThumb.jpg",
"IsFollowed":false,
"LibraryUri":null,
"Name":"User Name",
"PersonalSiteUri":"https://somecompany-my.sharepoint.com/personal/someone_somecompany_onmicrosoft_com/",
"Status":0,
"StatusText":"I like rabbits.",
"TagGuid":"00000000-0000-0000-0000-000000000000",
"Title":null,
"Uri":"https://somecompany-my.sharepoint.com:443/Person.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7Csomeone%40somecompany%2Eonmicrosoft%2Ecom"
}
}}
My/FollowedDocumentsUri
Obtient l’URI vers la page Documents que je suis pour l’utilisateur actuel.
Structure d’URI de point de terminaison
GEThttp://<siteCollection>/<site>/_api/social.following/my/followeddocumentsuri
Paramètre de requête
Aucun.
Réponse
FollowedDocumentsUri
Type : String
L'URI vers la page Documents que je suis pour l'utilisateur actuel.
La réponse suivante représente le FollowedDocumentsUri pour l'utilisateur actuel.
{"d":{"FollowedDocumentsUri":"https://somecompany-my.sharepoint.com/personal/someone_somecompany_onmicrosoft_com/Social/FollowedContent.aspx"}}
My/FollowedSitesUri
Obtient l’URI vers la page Sites que je suis pour l’utilisateur actuel.
Structure d’URI de point de terminaison
GEThttp://<siteCollection>/<site>/_api/social.following/my/followedsitesuri
Paramètre de requête
Aucun.
Réponse
FollowedSitesUri
Type : String
L'URI vers la page Sites que je suis pour l'utilisateur actuel.
La réponse suivante représente le FollowedSitesUri pour l'utilisateur actuel.
{"d":{"FollowedSitesUri":"https://somecompany-my.sharepoint.com/personal/someone_somecompany_onmicrosoft_com/Social/Sites.aspx"}}
My/Followed
Obtient les utilisateurs, documents, sites et balises suivis par l’utilisateur actuel.
Structure d’URI de point de terminaison
GEThttp://<siteCollection>/<site>/_api/social.following/my/followed(types=15)
Paramètre de requête
types
Type : Int32
Les types d'acteur à inclure. Utilisateurs = 1, Documents = 2, Sites = 4, Balises = 8. Les combinaisons de bits sont autorisées.
Réponse
Followed
Type : Tableau des SP.Social.SocialActor
utilisateurs, documents, sites et balises suivis par l'utilisateur actuel.
La réponse suivante représente un document, un site et une balise. Le paramètre types dans la demande spécifie les types d’acteurs à inclure.
{"d":{"Followed":{"results":[
{"__metadata":{"type":"SP.Social.SocialActor"}
"AccountName":null
"ActorType":1
"CanFollow":true
"ContentUri":"https://domain.sharepoint.com:443/Shared%20Documents/fileName.docx"
"EmailAddress":null
"FollowedContentUri":null
"Id":"2.089f4944a6374a64b52b7af5ba140392.9340a4837688405daa6b83f2b58f973d.51bbb5d8e214457ba794669345d23040.98b9fc73d5224265b039586688b15b98"
"ImageUri":null
"IsFollowed":true
"LibraryUri":null
"Name":"snippets.txt"
"PersonalSiteUri":null
"Status":0
"StatusText":null
"TagGuid":"00000000-0000-0000-0000-000000000000"
"Title":null
"Uri":"https://domain.sharepoint.com:443/Shared%20Documents/fileName.docx"}
{"__metadata":{"type":"SP.Social.SocialActor"}
"AccountName":null
"ActorType":2
"CanFollow":true
"ContentUri":"https://domain.sharepoint.com:443/"
"EmailAddress":null
"FollowedContentUri":null
"Id":"8.089f4944a6374a64b52b7af5ba140392.9340a4837688405daa6b83f2b58f973d.089f4944a6374a64b52b7af5ba140392.98b9fc73d5224265b039586688b15b98"
"ImageUri":null
"IsFollowed":true
"LibraryUri":null
"Name":"Developer Site"
"PersonalSiteUri":null
"Status":0
"StatusText":null
"TagGuid":"00000000-0000-0000-0000-000000000000"
"Title":null
"Uri":"https://domain.sharepoint.com:443/"}
{"__metadata":{"type":"SP.Social.SocialActor"}
"AccountName":null
"ActorType":3
"CanFollow":true
"ContentUri":null
"EmailAddress":null
"FollowedContentUri":null
"Id":"16.00000000000000000000000000000000.00000000000000000000000000000000.19a4a484c1dc4bc58c93bb96245ce928.98b9fc73d5224265b039586688b15b98"
"ImageUri":null
"IsFollowed":true
"LibraryUri":null
"Name":"#someTag"
"PersonalSiteUri":null
"Status":0
"StatusText":null
"TagGuid":"19a4a484-c1dc-4bc5-8c93-bb96245ce928"
"Title":null
"Uri":"https://somecompany-my.sharepoint.com:443/_layouts/15/HashTagProfile.aspx?
TermID=19a4a484-c1dc-4bc5-8c93-bb96245ce928"}
]}}}
My/FollowedCount
Obtient le nombre d’utilisateurs, documents, sites et balises suivis par l’utilisateur actuel.
Structure d’URI de point de terminaison
GEThttp://<siteCollection>/<site>/_api/social.following/my/followedcount(types=15)
Paramètre de requête
types
Type : Int32
Les types d'acteurs à inclure. Utilisateurs = 1, Documents = 2, Sites = 4, Balises = 8. Les combinaisons de bits sont autorisées.
Réponse
FollowedCount
Type : Int32
Le nombre d'utilisateurs, documents, sites et balises suivis par l'utilisateur actuel.
La réponse suivante indique que l'utilisateur actuel suit 3 acteurs du type spécifié. Le paramètre types dans la demande spécifie les types d’acteurs à inclure.
{"d":{"FollowedCount":3}}
My/Followers
Obtient les utilisateurs qui suivent l’utilisateur actuel.
Structure d’URI de point de terminaison
GEThttp://<siteCollection>/<site>/_api/social.following/my/followers
Paramètre de requête
Aucun.
Réponse
Followers
Type : Tableau de SP.Social.SocialActor
La réponse suivante représente un utilisateur qui suit l’utilisateur actuel.
{"d":{"Followers":{"results":[
{"__metadata":{"type":"SP.Social.SocialActor"},
"AccountName":"domain\\user",
"ActorType":0,
"CanFollow":true,
"ContentUri":null,
"EmailAddress":"user@domain.com",
"FollowedContentUri":null,
"Id":"1.60a6bd2d1537446880bb4a5a5b07fd63.3a6c6893e6b549cebffefcfa97412dcf.00093edb336e47ac8791bab0a0b77c5d.0c37852b34d0418e91c62ac25af4be5b",
"ImageUri":null,
"IsFollowed":true,
"LibraryUri":null,
"Name":"User Name",
"PersonalSiteUri":"http://server/my/personal/user/",
"Status":0,
"StatusText":"",
"TagGuid":"00000000-0000-0000-0000-000000000000",
"Title":"SALES DIRECTOR",
"Uri":"http://server:80/my/Person.aspx?accountname=domain%5Cuser"}
]}}}
My/Suggestions
Obtient les utilisateurs que l’utilisateur actuel souhaite peut-être suivre.
Notes
La fonctionnalité de suggestions de personne dépend des activités de suivi, des analyses de recherche et de l’analyse de la recherche des utilisateurs. Voir Fonctionnement des suggestions de personnes sur SharePoint Online.
Structure d’URI de point de terminaison
GEThttp://<siteCollection>/<site>/_api/social.following/my/suggestions
Paramètre de requête
Aucun.
Réponse
Suggestions
Type : Tableau des SP.Social.SocialActor
Utilisateurs que l'utilisateur actuel souhaite peut-être suivre.
GetMySuggestions
Obtient les utilisateurs que l’utilisateur actuel souhaite peut-être suivre.
Notes
La fonctionnalité de suggestions de personne dépend des activités de suivi, des analyses de recherche et de l’analyse de la recherche des utilisateurs. Voir Fonctionnement des suggestions de personnes sur SharePoint Online.
Structure d’URI de point de terminaison
GEThttp://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/getmysuggestions
Paramètre de requête
Aucun.
Réponse
Suggestions
Type : Liste des SP.UserProfiles.PersonProperties
Utilisateurs que l'utilisateur actuel souhaite peut-être suivre.
IsMyPeopleListPublic
Recherche si la liste Personnes que je suis pour l’utilisateur actuel est publique.
Structure d’URI de point de terminaison
GEThttp://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/ismypeoplelistpublic
Paramètre de requête
Aucun.
Réponse
IsMyPeopleListPublic
Type : bool
true si la liste des personnes de l'utilisateur actuel est publique ; sinon false.
La réponse suivante indique que la liste des personnes de l’utilisateur actuel est publique.
{"d":{"IsMyPeopleListPublic":true}}
AmIFollowedBy
Recherche si un utilisateur spécifié suit l’utilisateur actuel.
Structure d’URI de point de terminaison
GEThttp://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/amifollowedby(accountName=@v)?@v='domain\\user'
GEThttp://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/amifollowedby(accountName=@v)?@v='i:0"%23".f|membership|user@domain.com'
Paramètre de requête
accountName
Type : String
Le nom de compte de l'utilisateur cible.
Réponse
AmIFollowedBy
Type : bool
true si l'utilisateur spécifié suit l'utilisateur actuel ; autrement false.
La réponse suivante indique que l’utilisateur spécifié ne suit pas l’utilisateur actuel.
{"d":{"AmIFollowedBy":false}}
GetPeopleFollowedBy
Obtient les utilisateurs suivis par un utilisateur spécifique.
Structure d’URI de point de terminaison
GEThttp://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/getpeoplefollowedby(accountName=@v)?@v='domain\\user'
GEThttp://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/getpeoplefollowedby(accountName=@v)?@v='i:0"%23".f|membership|user@domain.com'
Paramètre de requête
accountName
Type : String
Le nom de compte de l'utilisateur cible.
Réponse
GetPeopleFollowedBy
Type : Liste des SP.UserProfiles.PersonProperties
Utilisateurs suivis par l'utilisateur spécifié.
La réponse suivante représente deux utilisateurs suivis par l’utilisateur spécifié.
{"d":{"results":[
{"__metadata":{
"id":"http://server/sites/dev/_api/SP.UserProfiles.PersonPropertiesa776ccd0-5566-47d2-9d59-3422cf1fb362",
"uri":"http://server/sites/dev/_api/SP.UserProfiles.PersonPropertiesa776ccd0-5566-47d2-9d59-3422cf1fb362",
"type":"SP.UserProfiles.PersonProperties"
},
"AccountName":"domain\\user1",
"DirectReports":{"results":[]},
"DisplayName":"User Name",
"Email":"user@domain.com",
"ExtendedManagers":{"results":[]},
"ExtendedReports":{"results":["domain\\user1"]},
"IsFollowed":true,
"LatestPost":null,
"Peers":{"results":[]},
"PersonalUrl":"http://server/my/personal/user1/",
"PictureUrl":null,
"Title":null,
"UserProfileProperties":{"results":[
{"__metadata":{"type":"SP.KeyValue"},"Key":"UserProfile_GUID","Value":"00093edb-336e-47ac-8791-bab0a0b77c5d","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SID","Value":"S-1-5-09-4830882673-197582990-1037597527-29477","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"ADGuid","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"AccountName","Value":"domain\\user1","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"FirstName","Value":"User","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PhoneticFirstName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"LastName","Value":"Name","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PhoneticLastName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"PreferredName","Value":"User Name","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PhoneticDisplayName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"WorkPhone","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Department","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Title","Value":"SALES DIRECTOR","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-JobTitle","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Department","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Manager","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"AboutMe","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"PersonalSpace","Value":"/my/personal/user1/","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"PictureURL","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"UserName","Value":"user1","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"QuickLinks","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"WebSite","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"PublicSiteRedirect","Value":"http://cox64-096/my/personal/user1/","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Dotted-line","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Peers","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Responsibility","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-SipAddress","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-MySiteUpgrade","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ProxyAddresses","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-HireDate","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-DisplayOrder","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ClaimID","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ClaimProviderID","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ClaimProviderType","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-SavedAccountName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-SavedSID","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ResourceSID","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ResourceAccountName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ObjectExists","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-MasterAccountName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-UserPrincipalName","Value":"user1@company.com","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PersonalSiteCapabilities","Value":"14","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-O15FirstRunExperience","Value":"15","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PersonalSiteInstantiationState","Value":"2","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-DistinguishedName","Value":"CN=user1 (User Name),OU=UserAccounts,DC=domain,DC=corp,DC=company,DC=com","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-SourceObjectDN","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-FeedIdentifier","Value":"http://server/my/personal/user1;1.60a6bd2d1537446880bb4a5a5b07fd63.3a6c6893e6b549cebffefcfa97412dcf.50dcee8186ae4dd6904d1650d3d39e54.0c37852b34d0418e91c62ac25af4be5b","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"WorkEmail","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"CellPhone","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Fax","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"HomePhone","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Office","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Location","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Assistant","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PastProjects","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Skills","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-School","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Birthday","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-StatusNotes","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Interests","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-HashTags","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-EmailOptin","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PrivacyPeople","Value":"True","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PrivacyActivity","Value":"4095","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-TimeZone","Value":"","ValueType":"Edm.String"}]
},
"UserUrl":"http://server:80/my/Person.aspx?accountname=domain%5Cuser1"},
{"__metadata":{
"id":"http://server/sites/dev/_api/SP.UserProfiles.PersonPropertiesf0ddf6e4-e69c-453f-9a7f-44e0e47d89d4",
"uri":"http://server/sites/dev/_api/SP.UserProfiles.PersonPropertiesf0ddf6e4-e69c-453f-9a7f-44e0e47d89d4",
"type":"SP.UserProfiles.PersonProperties"},
"AccountName":"domain\\user2",
"DirectReports":{"results":[]},
"DisplayName":"User Name",
"Email":"user2@company.com",
"ExtendedManagers":{"results":[]},
"ExtendedReports":{"results":["domain\\user2"]},
"IsFollowed":true,"LatestPost":null,
"Peers":{"results":[]},
"PersonalUrl":"http://server/my/Person.aspx?accountname=domain%5Cuser2",
"PictureUrl":null,
"Title":null,
"UserProfileProperties":{"results":[
{"__metadata":{"type":"SP.KeyValue"},"Key":"UserProfile_GUID","Value":"40deca2e-6231-43f9-9559-9a51b0135067","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SID","Value":" S-1-5-09-4830882673-197582990-1037597527-0688328","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"ADGuid","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"AccountName","Value":"domain\\user2","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"FirstName","Value":"User","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PhoneticFirstName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"LastName","Value":"Name","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PhoneticLastName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"PreferredName","Value":"User2","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PhoneticDisplayName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"WorkPhone","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Department","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Title","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-JobTitle","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Department","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Manager","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"AboutMe","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"PersonalSpace","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"PictureURL","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"UserName","Value":"user2","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"QuickLinks","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"WebSite","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"PublicSiteRedirect","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Dotted-line","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Peers","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Responsibility","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-SipAddress","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-MySiteUpgrade","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ProxyAddresses","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-HireDate","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-DisplayOrder","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ClaimID","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ClaimProviderID","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ClaimProviderType","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-SavedAccountName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-SavedSID","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ResourceSID","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ResourceAccountName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ObjectExists","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-MasterAccountName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-UserPrincipalName","Value":"user2@company.com","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PersonalSiteCapabilities","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-O15FirstRunExperience","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PersonalSiteInstantiationState","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-DistinguishedName","Value":"CN=User2,OU=UserAccounts,DC=domain,DC=corp,DC=company,DC=com","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-SourceObjectDN","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-FeedIdentifier","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"WorkEmail","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"CellPhone","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Fax","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"HomePhone","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Office","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Location","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Assistant","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PastProjects","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Skills","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-School","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Birthday","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-StatusNotes","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Interests","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-HashTags","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-EmailOptin","Value":"0","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PrivacyPeople","Value":"True","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PrivacyActivity","Value":"4095","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-TimeZone","Value":"","ValueType":"Edm.String"}]
},
"UserUrl":"http://server:80/my/Person.aspx?accountname=domain%5Cuser2"}
]}}
GetFollowersFor
Obtient les utilisateurs qui suivent un utilisateur spécifié.
Structure d’URI de point de terminaison
GEThttp://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/getfollowersfor(accountName=@v)?@v='domain\\user'
GEThttp://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/getfollowersfor(accountName=@v)?@v='i:0"%23".f|membership|user@domain.com'
Paramètre de requête
accountName
Type : String
Le nom de compte de l'utilisateur cible.
Réponse
GetFollowersFor
Type : Liste des SP.UserProfiles.PersonProperties
Utilisateurs qui suivent l'utilisateur spécifié.
La réponse suivante représente un utilisateur qui suit l’utilisateur spécifié.
{"d":{"results":[
{"__metadata":{
"id":"http://server/sites/dev/_api/SP.UserProfiles.PersonPropertiesabe0c40e-ce77-4631-9fc9-ec20b859061c",
"uri":"http://server/sites/dev/_api/SP.UserProfiles.PersonPropertiesabe0c40e-ce77-4631-9fc9-ec20b859061c",
"type":"SP.UserProfiles.PersonProperties"
},
"AccountName":"domain\\user",
"DirectReports":{"results":[]},
"DisplayName":"User Name",
"Email":"user@domain.com",
"ExtendedManagers":{"results":[]},
"ExtendedReports":{"results":["domain\\user"]},
"IsFollowed":false,
"LatestPost":"#tally",
"Peers":{"results":[]},
"PersonalUrl":"http://server/my/personal/user/",
"PictureUrl":null,
"Title":"MARKETING DIRECTOR",
"UserProfileProperties":{"results":[
{"__metadata":{"type":"SP.KeyValue"},"Key":"UserProfile_GUID","Value":"fa59ba73-edd4-4dc9-97d1-8ada702aae7f","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SID","Value":" S-1-5-09-4830882673-197582990-1037597527-002428","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"ADGuid","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"AccountName","Value":"domain\\user","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"FirstName","Value":"User","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PhoneticFirstName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"LastName","Value":"Name","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PhoneticLastName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"PreferredName","Value":"User Name","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PhoneticDisplayName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"WorkPhone","Value":"+1 (208) 3192190 X2190","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Department","Value":"Marketing","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Title","Value":"MARKETING DIRECTOR","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-JobTitle","Value":"MARKETING DIRECTOR","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Department","Value":"Marketing","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Manager","Value":"DOMAIN\\randalli","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"AboutMe","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"PersonalSpace","Value":"/my/personal/user/","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"PictureURL","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"UserName","Value":"user","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"QuickLinks","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"WebSite","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"PublicSiteRedirect","Value":"http://my/sites/user/","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-DataSource","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-MemberOf","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Dotted-line","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Peers","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Responsibility","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-SipAddress","Value":"user@domain.com","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-MySiteUpgrade","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-DontSuggestList","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ProxyAddresses","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-HireDate","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-DisplayOrder","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ClaimID","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ClaimProviderID","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ClaimProviderType","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-LastColleagueAdded","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-OWAUrl","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-SavedAccountName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-SavedSID","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ResourceSID","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ResourceAccountName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ObjectExists","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-MasterAccountName","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-UserPrincipalName","Value":"user@domain.com","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PersonalSiteCapabilities","Value":"14","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-O15FirstRunExperience","Value":"15","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PersonalSiteInstantiationState","Value":"2","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-DistinguishedName","Value":"CN=User Name,OU=UserAccounts,DC=domain,DC=corp,DC=company,DC=com","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-SourceObjectDN","Value":"CN=User Name,OU=UserAccounts,DC=domain,DC=corp,DC=company,DC=com","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-LastKeywordAdded","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-FeedIdentifier","Value":"http://server/my/personal/user;1.64769ec247734e699a5616f1701f7d94.ab42c829ec534daa99fc5909ef940213.3fb2a502be274948a665fcb5e8b2a58d.0c37852b34d0418e91c62ac25af4be5b","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"WorkEmail","Value":"user@domain.com","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"CellPhone","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Fax","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"HomePhone","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Office","Value":"2253","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Location","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"Assistant","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PastProjects","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Skills","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-School","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Birthday","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-StatusNotes","Value":"#tally","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Interests","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-HashTags","Value":"#tally","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-EmailOptin","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PrivacyPeople","Value":"True","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-PrivacyActivity","Value":"4095","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-MUILanguages","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ContentLanguages","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-TimeZone","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-RegionalSettings-FollowWeb","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Locale","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-CalendarType","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-AltCalendarType","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-AdjustHijriDays","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-ShowWeeks","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-WorkDays","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-WorkDayStartHour","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-WorkDayEndHour","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-Time24","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-FirstDayOfWeek","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-FirstWeekOfYear","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SPS-RegionalSettings-Initialized","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"EduUserRole","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"EduPersonalSiteState","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"EduOAuthTokenProviders","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"SISUserId","Value":"","ValueType":"Edm.String"},
{"__metadata":{"type":"SP.KeyValue"},"Key":"EduExternalSyncState","Value":"","ValueType":"Edm.String"}]
},
"UserUrl":"http://server:80/my/Person.aspx?accountname=domain%5Cuser"}
]}}