5/3/2012 6:50:26 AM
629
Reputation
83
Total posts
Hi shawndg,
If you're trying to add new roles to the user, you should try this
var userRoles = MonoSoftware.MonoX.API.RoleAdapter.GetInstance().GetUserRoles(userId).ToList();
userRoles.Add(MonoSoftware.MonoX.API.RoleAdapter.GetInstance().First(role => role.Name ==
"YourRole"
));
MonoSoftware.MonoX.API.RoleAdapter.GetInstance().ChangeUserRoles(userId, userRoles);
Rating history (Content is rated 0.00 of 0 vote(s).)
Shows who have rated the content, and the rating score.