cancel
Showing results for 
Search instead for 
Did you mean: 

Exception when trying to remove a user from role using UME API

Former Member
0 Kudos

Hello,

I am trying to remove a user from a role using UME code:

IUser user = users.getUser(uid);

role.removeUserMember(user.getUniqueName());

When I do this I receive this exception:

Maint method remove attribute cannot be used because the principal is not mutable!

Any ideas?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Solved it, it suppose to be Mutable role.