0 votes

I would like to set the Hire Date of a user to the CustomAttributeDate2. Using your script to create users from a csv file. I have tried "Hire Date" = "%CustomAttributeDate2%" and this fails. image.png image.png

So obviously, these customColumnNames can only be put in Active Directory. Is there a way for me to get that data into the customAttribute in adaxes? Add something to the script.

by (1.0k points)

1 Answer

+1 vote
by (13.3k points)

Hello,

As far as we understand you are referring to the following script in our repository: https://www.adaxes.com/script-repository/import-new-and-updated-users-from-csv-file-s246.htm. If so, yes, it is possible to import values to Adaxes custom attributes. To do so, you need to map the name of the required column to the LDAP name of the custom attribute (e.g. adm-CustomAttributeDate2) in the $customColumnsNames variable. In your case the issue occurs because you specified the value reference to the custom attribute, but not the attribute LDAP name. The mapping should look like this:

"HireDate" = "adm-CustomAttributeDate2";
0

I see, thanks for the info. This is working properly now.

Related questions

0 votes
1 answer

This script description says it can find the manager via FullName Distinguished name or Display name. Wondering if we can change it to use employeeID or SamAccountName.

asked Oct 24, 2022 by mightycabal (1.0k points)
0 votes
1 answer

Example: If a user has a ' in theirname: Fred J O'neal. Normally the username is set as %lastname:lower,4%%firstname:lower,3%%initials:lower% Problem is o'nefrej would be the result. ... name", "Information") $username = #this is what I'm not sure how to do?

asked Dec 6, 2022 by mightycabal (1.0k points)
0 votes
1 answer

Hi All, I am currently using the 30 day free trial of Adaxes and seeing if we can use it to achieve our method of user provisioning. I am looking into server-side ... variable value within an SQL query Can this be achieved? Any help is much appreciated, Thanks

asked Feb 1 by Lewis (40 points)
0 votes
1 answer

Or is there another solution to solve this?

asked Sep 15, 2022 by boris (530 points)
0 votes
1 answer

I have tried it using the Custom Commands Action "Add the user to a group", which only allows me to add the user to one group at a time, and can't use the multiple DNs that the ... I can't get it to work. Could you assist me in finding the best way to do this?

asked Jan 16 by dominik.stawny (280 points)
3,526 questions
3,217 answers
8,197 comments
547,625 users