cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning groups to the user using UME API

Former Member
0 Kudos

Hi,

I am facing an issue while assigning groups on portal to the newly created user in LDAP using UME API.

1. Using custom application I am creating user in LDAP

2. Then, I am searching the same user on portal using UME API to assign portal/ume groups to the user.

3. It throws exception that the User Does Not Exist On Portal

4. I can see the user through Portal User Management engine

5. If I refresh the custom WebDynpro Java application (through which I am creating users in LDAP), I can see the newly created user (Custom search provided in my application using UME API)

6. Then I can assign portal/UME groups to the user

7. Both the steps ( Creating User in LDAP & assigning groups on Portal ) will be executed on the same action (one button click)

8. Question is, once user is created in LDAP, approax. how much time it takes to reflect on portal.

9. I have tried providing some delay (8-10 sec) also.

Is there any workaround for this?

Thanks in advance.

Regards,

Nilesh

Accepted Solutions (0)

Answers (4)

Answers (4)

rudradev_devulapalli3
Active Participant
0 Kudos

Hi Nilesh,

We also have the same issue. Could you please tell us how you solved the issue

Thanks

Murali

Former Member
0 Kudos

Hi,

Thanks for the reply.

1. I am not creating user in UME (Its in LDAP)

2. Users are getting created in LDAP (Already checked).

3. Once the custom webdynpro java application is refreshed, then also I can search the users using the same application

4. Issue is, in one action (single button click), I am unable to execute both steps (User creation in LDAP & Group Assignment on Portal for the same user)

Regards,

Nilesh Rane

Former Member
0 Kudos

Hi,

Immediately after using newUser() method you have to issue commit() command. are you doing commit() in your code?

Regards,

Uday.

Former Member
0 Kudos

.

Edited by: Naga Uday KASU on Nov 19, 2010 12:17 PM