Developer forum

Forum » Integration »  importing users to a website with multiple stores

importing users to a website with multiple stores

Manfred Nilsson
Reply

Hello, we are having some problems importing users to a website with multiple stores. What we are trying to do is get the users to be in the right group (different stores). Unfortunately, the xslt file we used was written to manage one store with only one extranet group.


The part of our xslt file that needs to be changed looks like this:


<AccessUserGroups>
<GroupID GroupName="Customers SE" />
</AccessUserGroups>
<AccessUserShopID>
</AccessUserShopID>

However. The xml file has values for the user group
<Account ShopID="SHOP1" LoginID="Test" UserGroup="260" CustomerNo="test" ... />

Is there some way to use UserGroup value instead of GroupName?
I did not manage to get it with “xsl:value-of” or any other solution I could think of (I am no Xslt expert)

Regards

Manfred Nilsson

 


Replies

 
Roy Petersen
Reply

I would also like an answer to this.

 
Morten Snedker
Reply
This post has been marked as an answer

Hi Roy,

 

You probably got this solved long ago - I'll reply nevertheless. And sorry for the missing reply! 

 

Assuming you're using the User Provider as destination, you can provide a comma-separated list of groups for each user. In your case something like 
GroupName="Customer SE,Customer NO,Customer DK".

 

Hope this helps - otherwise feel free to report back!  :-)

 

Regards /Snedker
 

Votes for this answer: 1

 

You must be logged in to post in the forum