The following sample code shows how you can remove a user from current user's ignore list using the API.
[C#]
using CMS.Messaging; using CMS.CMSHelper; using CMS.SiteProvider; using CMS.GlobalHelper;
...
// Removes administrator from CurrentUser's Ignore list UserInfo user = UserInfoProvider.GetUserInfo("administrator"); IgnoreListInfoProvider.RemoveFromIgnoreList(CMSContext.CurrentUser.UserID, user.UserID); |
Page url: http://devnet.kentico.com/docs/devguide/index.html?removing_user_from_ignore_list.htm