on 07-20-2008 1:01 PM
Hi,
I'm trying to add a user to a group using the SDK. I'm using the Inline::Java perl module converting the Java examples to Perl. I can add users without a problem and I can query the CMS for information. When commiting the following perl version:
Java version: ((IUser)iUser).getGroups().add(groupInt);
Perl version: $iUser->getGroups()->add($groupInt);
I get this error:
method commit in class com.crystaldecisions.sdk.occa.infostore.IInfoStore threw exception com.crystaldecisions.sdk.occa.infostore.internal.InfoStoreException: The value for property 'SI_ADM_ADD_USERGROUPS_TO_USER' of the object named '' with id 2435 is not valid.
ID 2435 is the user id of the user I'm trying to add to a group. $groupInt is and integer with a value of 2, which is a valid groupid. What value does this expect?
Where can I find more information on this error and what I can do to correct it.
Hi,
I've got same error, but I don't know the full context where you got your.
I was trying to insert a new user and adding it to my desired groups.
I've resolved (or bypassed) the problem by first creating user, committing and
after reaccess to the InfoStore for adding the new user to desider groups.
So: Create user + add group + commit -> give me errors
Create user + commit, add user to group + commit -> give no error
Hope helps.
Francesco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.