Ektron.Cms.Framework.Community.FriendsManager

Friends Manager

Properties
ApiMode Gets or sets the current API access mode. If set to Admin, the API runs with the permissions of an administrator.
ContentLanguage Gets or sets the current content language.
FriendsManagerService returns an instance of the business objects friends manager service.
InPreviewMode Gets or sets the current Preview Mode. Returns true if the site is in site preview mode.
RequestInformation Gets the current Request Information.
SitePath Gets the site path.
UserId Gets or sets the currently logged in user ID.
Method Description
FriendsManager constructor
FriendsManager(ApiAccessMode) constructor
Add(FriendsData) Adds a new friend.
Update(FriendsData) Updates an existing friends in the CMS.
Delete(Int64) Deletes a friend in the CMS for the currently logged in user.
Delete(Int64,Int64) Deletes a friend in the CMS for the supplied user.
Invite(Int64,String,String) Invites a user to be your friend.
AcceptInvite(PendingFriendsData) Accepts a friend's invitation.
DeclineInvite(PendingFriendsData) Declines an friend invitation.
GetItem(Int64) Retrieves a single FriendsData object from the CMS.
GetItem(Int64,Int64) Retrieves a single FriendsData object from the CMS for the supplied user..
GetList(FriendsCriteria) Retrieves a list of FriendsData objects based upon the supplied criteria.
GetPendingList(Int64) Retrieves a list of PendingFriendsData objects with pending state.
GetInvitedList(Int64) Retrieves a list of PendingFriendsData objects with invited state.