Hello,
I try this :
IGroup grp2 = UMFactory.getGroupFactory().getGroupByUniqueName(im_group);
boolean check2 = false;
if ( grp2.isUserMember(epUser.getUniqueID(), check2))
{
grp2.removeGroupMember(epUser.getUniqueID());
}
But exception says :
0#0#Error##Plain###com.sap.security.api.UMRuntimeException: Maint method remove attribute cannot be used because the principal is not mutable!