Developer forum

Forum » Integration » User batchintegration

User batchintegration

Magnus Holmberg
Reply

Hi,

Is it possible to add a user to different User Groups in the batch integration from NAV?
Is it only to add AccessUserGroups to the import xml and add groups like this: @257@

Best regards.
/Magnus


Replies

 
Jonas Krarup Dam
Reply
This post has been marked as an answer

Hi Magnus,

The field "AccessUserGroup" can actually contain a comma seperated list of groups that the user should belong to. This list can contain either the groupIDs or the names of the groups that the user should belong to. If you use groupnames, and there are multiple groups with the same name, the user will be put in a random group with that name.

I hope this helps.

Regars, Jonas

Votes for this answer: 1
 
Magnus Holmberg
Reply

Ok, nice!

If a user is created via batch integration with groups "group1,group2, group3" and then next batch integration the user is updated with groups "group4, group5" is the customer then removed from group1, group2 and group3 or just added to group4 and group5?

/Magnus

 
Jonas Krarup Dam
Reply
This post has been marked as an answer

I belive that the user is only added to new groups, not removed from missing, but I am not 100% sure. I would recommend testing the functionality to make sure, if it is important.

 

 

Regards, Jonas

Votes for this answer: 1

 

You must be logged in to post in the forum