Developer forum

Forum » Integration » User Provider - AccessUserGroups

User Provider - AccessUserGroups

Michael Knudsen
Reply

How can I ensure customers are moved in the right groups during import, because right now the customer isn't removed from the groups, they are only added.

In the ex. below, are the customer added to three groups (Customers + CPG_PRIS1 + CPG_PRIS2), but the customer should only be in to groups (Customer + CPG_PRIS2).

Data in the import job day 1:
<column columnName="AccessUserGroups"><![CDATA[Customers,CPG_PRIS1]]></column>

Data in the import job day 2:
<column columnName="AccessUserGroups"><![CDATA[Customers,CPG_PRIS2]]></column>

Current configuration of the User Provider:


Br. Michael Knudsen


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Michael,
can you enable the option "Replace current group membership" and check if it works?
BR, Dmitrij

Votes for this answer: 1
 
Michael Knudsen
Reply

Thanks for quick response Dmitriy, seems to work as long all groups are imported, but if customers are assigned to other groups based on 'Smart search' / queries, these are striped until the smart search task have been executed.

Br. Michael Knudsen

 

You must be logged in to post in the forum