Removing a user form ignore list
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);