In User Profiles each user now has a Social Profile to track interact with Social activities or properties of a User. In addition to the existing ones in SharePoint 2013 Ms has Included the following new objects that represent Users and User Properties:
The SocialActor object represents users (and other entities) for feed,following and other social activities.
The PersonProperties object contains general user properties and user profile properties. PersonProperties is the primary API for accessing user properties from client-side code.
//Create a Social Profile with SPSocialFollowingManager
SPSocialFollowingManager _followManager = new SPSocialFollowingManager(profile);
//Create a Social actor of type Document
SPSocialActorInfo newActor = new SPSocialActorInfo();
newActor.ActorType = SPSocialActorType.Document;
//Follow the document actor
newActor.ContentUri = new Uri('path of document to follow');
_followManager.Follow(newActor);
Please Note that to Create or Change user profiles, you must use the server object model. User profiles and user profile properties from client APIs are read-only (except the user profile picture).
порскан наннифа порскан наннифа порскан наннифа порскан наннифа
ReplyDeleteпорскан graphite titanium babyliss pro наннифа порскан titanium lug nuts нанифа порскан нанифа titanium muffler порскан нанифа порскан ford edge titanium 2019 нанифа 2016 ford fusion energi titanium - TITIA R.