Auto Add to user group

17 views
Skip to first unread message

MarkR

unread,
Jul 14, 2026, 9:52:10 PM (yesterday) Jul 14
to XMPie Interest Group
Hi All

I am setting up a site for a customer where a customer user will be adding users to uStore using the UserWS API and more specifically the AddUserInStore process. I have got the site all working fine, and it adds the user to the store with the correct details and the password. However it does not add the user to a user group, and therefore the user gets no access to the store, even though they have that store assigned to them.
Is there a way that new users to a store can be added automatically to a group, or do i need to look at a different API?

Thanks

couch

unread,
Jul 14, 2026, 10:02:33 PM (yesterday) Jul 14
to XMPie Interest Group
Since you say UserWS - sounds like you are using the old WSAPI? 
There is a separate UserGroupWS endpoint for managing group membership. - eg https://<yourserver>/ustorewsapi/UserGroupWS.asmx?op=AddUserToGroup
I understand using WSAPI if modifying an older app, but if creating something new, I would recommend swapping to use the REST APIs. In this case, there are also two endpoints for either users and usergroups.

MarkR

unread,
1:07 AM (22 hours ago) 1:07 AM
to XMPie Interest Group
Thanks Couch.

Is there a tutorial doc or some training materials on how to use the REST APIs as i havent worked with them before.

Cheers

Reply all
Reply to author
Forward
0 new messages