Seguir a personas y referencia a API de REST de contenido para SharePoint
Buscar puntos de conexión de REST de SharePoint para seguir personas y contenido con el recurso SocialRestFollowingManager y el recurso PeopleManager. Puede usar el servicio de transferencia de estado representacional (REST) de SharePoint para realizar las mismas tareas que puede llevar a cabo con los modelos de objetos de cliente de .NET y el modelo de objetos de JavaScript. Para usar el servicio REST, crear y enviar solicitudes HTTP de GET y POST a los extremos de recurso que representan las tareas que desea realizar. Estos extremos de recurso corresponden a los objetos, propiedades y métodos de SharePoint.
El URI del extremo para la mayoría siguiente las tareas comienza con el recurso de SocialRestFollowingManager ( social.following
) y termina con el recurso que lleva a cabo la tarea específica. Por ejemplo, use el URI http://www.contoso.com/_api/social.following/follow
para que el usuario actual empiece a seguir a personas o contenido, y el URI https://www.contoso.com/sites/devSite/_api/social.following/followed
para obtener las personas o el contenido que sigue el usuario actual.
Nota
Este artículo muestra el extremo de URI y componentes de parámetros de solicitudes HTTP. Para obtener ejemplos de solicitudes completas, vea Cómo: Seguir documentos, sitios y etiquetas mediante el servicio REST en SharePoint.
Se recomienda que use SocialRestFollowingManager API para seguir a personas y tareas de seguimiento de contenido, pero se puede usar el PeopleManager recursos algunas personas siguientes tareas que SocialRestFollowingManager no admiten. Por ejemplo, puede averiguar si alguien sigue el usuario actual u obtener guiada de otro usuario. Para estas tareas, se envían solicitudes de GET HTTP al extremo de los identificadores URI que comienzan con el recurso de PeopleManager ( sp.userprofiles.peoplemanager
) y terminan con el recurso que lleva a cabo la tarea específica.Si el extremo toma un parámetro, los metadatos del parámetro se envían en el identificador URI o en el cuerpo de solicitud en formato XML o Notación de objetos de JavaScript (JSON). Puede realizar las solicitudes HTTP en cualquier lenguaje, incluidos JavaScript y C#. De forma predeterminada, el servicio REST devuelve las respuestas que se ha dado formato mediante el protocolo Atom, pero puede solicitar el formato JSON mediante el uso de encabezados de Accept HTTP. Vea Cómo programar con el servicio REST de SharePoint 2013.
Follow
StopFollowing
IsFollowed
My
My/FollowedDocumentsUri
My/FollowedSitesUri
My/Followed
My/FollowedCount
My/Followers
My/Suggestions
GetMySuggestions
IsMyPeopleListPublic
AmIFollowedBy
GetPeopleFollowedBy
GetFollowersFor
Hace que el usuario actual empiece el seguimiento de un usuario, el documento, el sitio o la etiqueta.
EXPONERhttp://<siteCollection>/<site>/_api/social.following/follow
actor
tipo: SP.Social.SocialActorInfo
el actor al iniciarse después de.
Actor de usuario en el URI
http://<siteCollection>/<site>/_api/social.following/follow(ActorType=0,AccountName=@v,Id=null)?@v='domain\\user'
Actor de usuario en el cuerpo de la solicitud
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":0,
"AccountName":"domain\\user",
"Id":null
}
Si usa un modelo de identidad basado en notificaciones, puede pasar el nombre de la cuenta mediante el formato @v='i:0"%23".f|membership|user@domain.com'
en la cadena de consulta o "i:0#.f|membership|user@domain.com"
en el cuerpo de la solicitud.
Actor de documento en el URI
http://<siteCollection>/<site>/_api/social.following/follow(ActorType=1,ContentUri=@v,Id=null)?@v='http://server/Shared%20Documents/fileName.docx'
Actor de documento en el cuerpo de la solicitud
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":1,
"ContentUri":"http://server/Shared%20Documents/fileName.docx",
"Id":null
}
Actor de sitio en el URI
http://<siteCollection>/<site>/_api/social.following/follow(ActorType=2,ContentUri=@v,Id=null)?@v='http://server/site'
Actor de sitio en el cuerpo de la solicitud
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":2,
"ContentUri":"http://siteCollection/site",
"Id":null
}
Etiquetar actor en el URI
http://<siteCollection>/<site>/_api/social.following/follow(ActorType=3,TagGuid='19a4a484-c1dc-4bc5-8c93-bb96245ce928',Id=null)
Etiquetar actor en el cuerpo de la solicitud
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":3,
"TagGuid":"19a4a484-c1dc-4bc5-8c93-bb96245ce928",
"Id":null
}
Se necesita la etiqueta GUID para iniciar el seguimiento de una etiqueta. No se puede obtener el GUID mediante el servicio REST, pero se puede usar el modelo de objetos de cliente de .NET o el modelo de objetos de JavaScript. Consulte Obtención del GUID de una etiqueta en función del nombre de la etiqueta mediante el modelo de objetos de JavaScript.
Follow
tipo: SP.Social.SocialFollowResult
el estado de la solicitud: 0 = Aceptar; 1 = AlreadyFollowing; 2 = LimitReached; o 3 = error interno.
La siguiente respuesta indica que la solicitud se ha realizado correctamente.
{"d":{"Follow":0}}
Hace que el usuario actual detener después de un usuario, el documento, el sitio o la etiqueta.
EXPONERhttp://<siteCollection>/<site>/_api/social.following/stopfollowing
actor
tipo: SP.Social.SocialActorInfo
el actor para dejar de seguir.
Actor de usuario en el URI
http://<siteCollection>/<site>/_api/social.following/stopfollowing(ActorType=0,AccountName=@v,Id=null)?@v='domain\\user'
Actor de usuario en el cuerpo de la solicitud
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":0,
"AccountName":"domain\\user",
"Id":null
}
Si usa un modelo de identidad basado en notificaciones, puede pasar el nombre de la cuenta mediante el formato @v='i:0"%23".f|membership|user@domain.com'
en la cadena de consulta o "i:0#.f|membership|user@domain.com"
en el cuerpo de la solicitud.
Actor de documento en el URI
http://<siteCollection>/<site>/_api/social.following/stopfollowing(ActorType=1,ContentUri=@v,Id=null)?@v='http://server/Shared%20Documents/fileName.docx'
Actor de documento en el cuerpo de la solicitud
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":1,
"ContentUri":"http://server/Shared%20Documents/fileName.docx",
"Id":null
}
Actor de sitio en el URI
http://<siteCollection>/<site>/_api/social.following/stopfollowing(ActorType=2,ContentUri=@v,Id=null)?@v='http://server/site'
Actor de sitio en el cuerpo de la solicitud
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":2,
"ContentUri":"http://siteCollection/site",
"Id":null
}
Etiquetar actor en el URI
http://<siteCollection>/<site>/_api/social.following/stopfollowing(ActorType=3,TagGuid='19a4a484-c1dc-4bc5-8c93-bb96245ce928',Id=null)
Etiquetar actor en el cuerpo de la solicitud
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":3,
"TagGuid":"19a4a484-c1dc-4bc5-8c93-bb96245ce928",
"Id":null
}
Se necesita la etiqueta GUID para iniciar el seguimiento de una etiqueta. No se puede obtener el GUID mediante el servicio REST, pero se puede usar el modelo de objetos de cliente de .NET o el modelo de objetos de JavaScript. Consulte Obtención del GUID de una etiqueta en función del nombre de la etiqueta mediante el modelo de objetos de JavaScript.
Ninguno.
{"d":{"StopFollowing":null}}
Indica si el usuario actual sigue un usuario especificado, el documento, el sitio o la etiqueta.
EXPONERhttp://<siteCollection>/<site>/_api/social.following/isfollowed
actor
tipo: SP.Social.SocialActorInfo
el actor para buscar el estado siguiente para.
Actor de usuario en el URI
http://<siteCollection>/<site>/_api/social.following/isfollowed(ActorType=0,AccountName=@v,Id=null)?@v='domain\\user'
Actor de usuario en el cuerpo de la solicitud
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":0,
"AccountName":"domain\\user",
"Id":null
}
Si usa un modelo de identidad basado en notificaciones, puede pasar el nombre de la cuenta mediante el formato @v='i:0"%23".f|membership|user@domain.com'
en la cadena de consulta o "i:0#.f|membership|user@domain.com"
en el cuerpo de la solicitud.
Actor de documento en el URI
http://<siteCollection>/<site>/_api/social.following/isfollowed(ActorType=1,ContentUri=@v,Id=null)?@v='https://domain.sharepoint.com/Shared%20Documents/fileName.docx'
Actor de documento en el cuerpo de la solicitud
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":1,
"ContentUri":"http://server/Shared%20Documents/fileName.docx",
"Id":null
}
Actor de sitio en el URI
http://<siteCollection>/<site>/_api/social.following/isfollowed(ActorType=2,ContentUri=@v,Id=null)?@v='http://domain.sharepoint.com'
Actor de sitio en el cuerpo de la solicitud
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":2,
"ContentUri":"http://siteCollection/site",
"Id":null
}
Etiquetar actor en el URI
http://<siteCollection>/<site>/_api/social.following/isfollowed(ActorType=3,TagGuid='19a4a484-c1dc-4bc5-8c93-bb96245ce928',Id=null)
Etiquetar actor en el cuerpo de la solicitud
"actor":{
"__metadata":{"type":"SP.Social.SocialActorInfo"},
"ActorType":3,
"TagGuid":"19a4a484-c1dc-4bc5-8c93-bb96245ce928",
"Id":null
}
Se necesita la etiqueta GUID para iniciar el seguimiento de una etiqueta. No se puede obtener el GUID mediante el servicio REST, pero se puede usar el modelo de objetos de cliente de .NET o el modelo de objetos de JavaScript. Consulte Obtención del GUID de una etiqueta en función del nombre de la etiqueta mediante el modelo de objetos de JavaScript.
IsFollowed
tipo: bool
true si el usuario actual sigue el actor; en caso contrario, false.
La respuesta siguiente indica que el usuario no sigue el actor especificado.
{"d":{"IsFollowed":false}}
Obtiene información sobre la instancia de SocialRestFollowingManager y la información sobre el usuario actual.
GEThttp://<siteCollection>/<site>/_api/social.following/my
Ninguna.
Tipo: SP.Social.SocialRestFollowingManager
obtener información acerca de la instancia de SocialRestFollowingManager y las propiedades MyFollowedDocumentsUri, MyFollowedSitesUriy SocialActor para el usuario actual.
La siguiente respuesta representa la instancia de SocialRestFollowingManager para el usuario actual.
{"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"
}
}}
Obtiene el identificador URI a la página documentos que sigo para el usuario actual.
GEThttp://<siteCollection>/<site>/_api/social.following/my/followeddocumentsuri
Ninguna.
FollowedDocumentsUri
Tipo: String
el URI a la página de documentos que sigo para el usuario actual.
La siguiente respuesta representa la FollowedDocumentsUri para el usuario actual.
{"d":{"FollowedDocumentsUri":"https://somecompany-my.sharepoint.com/personal/someone_somecompany_onmicrosoft_com/Social/FollowedContent.aspx"}}
Obtiene el identificador URI a la página sitios que sigo para el usuario actual.
GEThttp://<siteCollection>/<site>/_api/social.following/my/followedsitesuri
Ninguna.
FollowedSitesUri
Tipo: String
el URI a la página de sitios que sigo para el usuario actual.
La siguiente respuesta representa la FollowedSitesUri para el usuario actual.
{"d":{"FollowedSitesUri":"https://somecompany-my.sharepoint.com/personal/someone_somecompany_onmicrosoft_com/Social/Sites.aspx"}}
Obtiene los usuarios, documentos, sitios y etiquetas que está siguiendo el usuario actual.
GEThttp://<siteCollection>/<site>/_api/social.following/my/followed(types=15)
types
tipo: Int32
los tipos de actor para incluir. Los usuarios = 1, documentos = 2, sitios = 4, etiquetas = 8. Se permiten combinaciones bit a bit.
Followed
Tipo: matriz de SP.Social.SocialActor
los usuarios, documentos, sitios y etiquetas que está siguiendo el usuario actual.
La siguiente respuesta representa un documento, un sitio y una etiqueta. El parámetro types de la solicitud especifica los tipos de actores que se van a incluir.
{"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"}
]}}}
Obtiene el recuento de usuarios, documentos, sitios y etiquetas que está siguiendo el usuario actual.
GEThttp://<siteCollection>/<site>/_api/social.following/my/followedcount(types=15)
types
tipo: Int32
los tipos de actores para incluir. Los usuarios = 1, documentos = 2, sitios = 4, etiquetas = 8. Se permiten combinaciones bit a bit.
FollowedCount
Tipo: Int32
el recuento de usuarios, documentos, sitios y etiquetas que está siguiendo el usuario actual.
La respuesta siguiente indica que el usuario actual sigue 3 actores del tipo especificado. El parámetro types de la solicitud especifica los tipos de actores que se van a incluir.
{"d":{"FollowedCount":3}}
Obtiene los usuarios que siguen el usuario actual.
GEThttp://<siteCollection>/<site>/_api/social.following/my/followers
Ninguna.
Followers
Tipo: matriz de SP.Social.SocialActor
La siguiente respuesta representa un usuario que sigue el usuario actual.
{"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"}
]}}}
Obtiene los usuarios que el usuario actual podría querer seguir.
Nota
[!NOTA] Sugerencias de personas funcionalidad depende de las actividades siguientes de los usuarios, los rastreos de búsqueda y análisis de búsqueda. Vea Cómo funcionan las sugerencias de personas en SharePoint Online.
GEThttp://<siteCollection>/<site>/_api/social.following/my/suggestions
Ninguna.
Suggestions
tipo: matriz de SP.Social.SocialActor
Usuarios a los que es posible que el usuario actual quiera seguir.
Obtiene los usuarios que el usuario actual podría querer seguir.
Nota
[!NOTA] Sugerencias de personas funcionalidad depende de las actividades siguientes de los usuarios, los rastreos de búsqueda y análisis de búsqueda. Vea Cómo funcionan las sugerencias de personas en SharePoint Online.
GEThttp://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/getmysuggestions
Ninguna.
Sugerencias
Tipo: lista de SP.UserProfiles.PersonProperties
los usuarios que el usuario actual podría querer seguir.
Averigua si la lista de personas que estoy siguiendo para el usuario actual es pública.
GEThttp://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/ismypeoplelistpublic
Ninguna.
IsMyPeopleListPublic
Tipo: bool
true si la lista de personas del usuario actual es pública; en caso contrario, false.
La siguiente respuesta indica que la lista de personas del usuario actual es pública.
{"d":{"IsMyPeopleListPublic":true}}
Averigua si sigue el usuario actual a un usuario especificado.
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'
accountName
Tipo: String
el nombre de cuenta de usuario de destino.
AmIFollowedBy
tipo: bool
true si el usuario especificado sigue el usuario actual; en caso contrario, false.
La respuesta siguiente indica que el usuario especificado no sigue el usuario actual.
{"d":{"AmIFollowedBy":false}}
Obtiene los usuarios seguidos de un usuario especificado.
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'
accountName
Tipo: String
el nombre de cuenta de usuario de destino.
GetPeopleFollowedBy
Tipo: lista de SP.UserProfiles.PersonProperties
los usuarios seguidos por el usuario especificado.
La siguiente respuesta representa dos usuarios seguidos por el usuario especificado.
{"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"}
]}}
Obtiene los usuarios que están siguiendo un usuario especificado.
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'
accountName
Tipo: String
el nombre de cuenta de usuario de destino.
GetFollowersFor
tipo: lista de SP.UserProfiles.PersonProperties
los usuarios que siguen el usuario especificado.
La siguiente respuesta representa un usuario que está siguiendo el usuario especificado.
{"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"}
]}}
Cómo seguir documentos, sitios y etiquetas mediante el uso del servicio REST en SharePoint
Referencia de la API de REST de fuente social para SharePoint
Referencia de JavaScript de perfiles de usuario de SharePoint (sp.userprofiles.js)
Comience a desarrollar con características sociales en SharePoint