cancel
Showing results for 
Search instead for 
Did you mean: 

Web Services to associate a user to a group does not work

Former Member
0 Kudos
93

Hi there,

I would appreciate if someone can help me, I am really stuck! I did everything possible still does not work.

I am using BusinessObjects 3.1.  I create a java class to create users in BO using BO SDK web services.

The user creation part works perfectly. But the user is never associated with the group I specify.

Please review the attached file and let me know what I am doing wrong. Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

In fact here is the InfoObject that is being sent, and you can see that the userGroup is specified.

Yet the user A500035 is created without the group:

<inf:InfoObject xsi:type="user:User"

  xmlns:user="http://enterprise.businessobjects.com/3.0/user"

  xmlns:inf="http://enterprise.businessobjects.com/3.0/infoobject"

  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <inf:Name>A500034</inf:Name>

  <inf:Description>Best User</inf:Description>

  <inf:CUID>AZvcXKA0fiBAt_OlnWorNhQ</inf:CUID>

  <inf:ParentCUID>AXhmigik4CBKra9ZYzR2ezE</inf:ParentCUID>

  <user:EmailAddress>A500034@add_user_sample.com</user:EmailAddress>

  <user:FullName>A500034</user:FullName>

  <user:Groups>

  <user:UserGroupIDs>AS3BN0tYDc5DtiS5dx5ehNg</user:UserGroupIDs>

  </user:Groups>

  <user:PasswordExpiryAllowed>true</user:PasswordExpiryAllowed>

  <user:PasswordToChangeAtNextLogon>true</user:PasswordToChangeAtNextLogon>

  <user:Password>password</user:Password>

  <user:NamedUser>true</user:NamedUser>

</inf:InfoObject>