Hi,

I have a question about role assign/de-assign.

When I want to deassing a role from a user, I am creating a userMod object and setting into it:

userMod.setId(currentuser.getId());
userMod.addMemberShipToBeRemoved(membershipid)

where membership id is the id of the membership corresponding to the role I want to de-assign.

I can de-assign roles of the user progressingly with no issue. Propagation to ldap is taking place in the desired way.

When I de-assign the last membership of the user, the user is deleted from ldap.

I can see the DELETE operation in ldap logs.

Is anything I am doing wrong when setting UserMod structure ?

Thanks and regards,

German.



Reply via email to