Import users and their related groups from AD?

Johannes Buverud
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 16, 2018

I need to import users and their related groups from AD.

The groups will reside in their own object type and should be related to the user.

How do I do this?

2 answers

1 accepted

3 votes
Answer accepted
Alexander Sundström
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2018

HI Johannes,

You could use the following regular expression for the attribute mapped in the import.

OU=(.*?),

This would capture all the groups for the user.

Then to create the Object Mapping IQL, it should look something like:

Label IN (${DATA LOCATOR${0}})

 DATA LOCATOR should be replaced with the actual data locator used.

For this to work, the groups needs to have been created first in Insight.

Best Regards
Alexander

Johannes Buverud
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2018

Changing OU to CN and using memberOf as Data Locator did it.

Thanks!

Like Manuel Lindner likes this
Alexander Sundström
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 22, 2018

Glad you found a solution :)

Cheers!
Alexander

Xavier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2018

Hi all,

I had the same requests.

It works perfectly. Thanks to you

 

regards

Xavier

0 votes
Ajay Goud Gaddam
Contributor
March 2, 2022

Hi @Johannes Buverud , 

Can please brief how did you do this?

were we can use this regular expression option,  I didn't see anywhere that option to use. and member Of  should be replaced by Label IN?

Groups should be created with csv import or any?

Thanks in advance for your followup.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events