AutoIT Scripting and Clearlogin Directory

Follow

Clearlogin Directory CSV uploads currently supports Google Apps School Directory Sync template. You can find more info at https://support.google.com/a/answer/6032762?hl=en   The first thing you will need is to get the .au3 AutoIt script at https://github.com/Clearlogin/autoit-to-cld   Next you will need to setup the script with the proper directories and variables: first $fileDir is the location that your CSV files exist. $logFile is the file where output will be logged. $apiKey is your api key found at https://admin.clearlogin.com/api/key second $identitySource is the id of your identity source found on the info page of your directory third The options for upload relate directly to the options on the CSV upload page in the Clearlogin admin console. They should be set to the string '1' for true and '0' for false. $destroyUsers  if true will destroy any people not found in the new CSV $destroyAttributes if true will rewrite over any old attributes and delete attributes not found in the CSV when updating a person if false it will only rewrite existing attributes. $requirePasswordReset if true it will require newly created people to change their passwords on next login. If destroyAttributes is true, then existing people will require password changes as well. $lockUsers if true this to lock newly created people's accounts. If destroyAttributes is true, then existing people will be locked as well.   After configuring those variables you can hook your AutoIt script into any triggers you would like, you are all setup! Happy Uploading!

Have more questions? Submit a request

Comments

Powered by Zendesk