Hi,
I need to add/update attribute values of user entries on LDAP within the java code of an iViewer.
I tried doing it straight forward, using netscape.ldap.LDAPConnection, and got a runtime exception (perhaps a missing ServicesReference?).
I then tried to do it through the IUser api, which I got using:
IUserManagementService umService = (IUserManagementService) request.getService(IUserManagementService.KEY);
IUserFactory userFactory = umService.getDefaultFactory();
IUser user = userFactory.getUser(...);
However, I couldn't figure out the way to do it through that api, niether through the IModifyUser api.
Any help would be appriciated...
I finally did it using .NET (with an aspx web form).
My question now would be: Is there a way to call that form from the Java iView and get back to the Java iView after it's finished?
I can redirect to it from Java iView by explicitly writing an href tag, but how can I get back?
Can I redirect to a java iView within an aspx form?
Add a comment