cancel
Showing results for 
Search instead for 
Did you mean: 

Can't see updated details after updating them using IUserMaint

Former Member
0 Kudos

Hello,

I am trying to update User details using this code fragment:

IUserMaint maint = UMFactory.getUserFactory().getMutableUser(request.getUser().getUniqueID());
maint.setFirstName("Roy1");

the set method returns true which means that the update is successful. The problem is that I can't see the update anywhere. If I go to the User Management admin console for example and search my user I don't see any change there. I think it is also worth mentioning that I am connected to an LDAP using read only DS (dataSourceConfiguration_ads_deep_readonly_db.xml).

Any idea why this happen?

Roy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Roy,

Add the following line to your program after you set the properties.

maint.commit();

This should do the job for you. I'm not sure about the read only ds, as i have not used it.

Hope this helps.

Ranjith

Former Member
0 Kudos

Bamm! Solved problem, 10X Ranjith.

Answers (0)