Active Directory and LDAP can be leveraged to enable automated importation of a staff list into VisitorRego.
Active Directory integration is intended for a system administrator or IT specialist to set up. Knowledge of how your Active Directory is structured to pull the correct information is required. Please contact your system administrator for assistance in setting up this feature.
If your VisitorRego unit is connected to your network, please see
here for information on AD integration through the software itself.
If your VisitorRego unit is not connected to your network, a PowerShell script can be generated for your site to batch load staff from your Active Directory which can then be scheduled as a background task. The following details provide guidance on how to use the script.
The script is run on a machine or server that is domain connected (so it can read AD) and retrieves Active Directory user information for specified queries and sends the data to the VisitorRego remote API.
The VisitorRego unit synchronises with
the server to refresh the locally held staff list.
To use the AD PowerShell script, the machine or server you are running the script from will need to be able to communicate with both your Active Directory, and the VisitorRego remote API
https://adupdate.visitorrego.com/.
The VisitorRego unit itself would also need to be able to communicate with the VisitorRego server.
To obtain the AD PowerShell script,
contact the VisitorRego support team. The support team will generate the script and provide it to you. The script includes site specific variables which allow the data to be sent to your site correctly.
Modifying the script
Once you have received your site specific generated script, the file can be edited with notepad.
You will find a synopsis and notes at the top of the script which briefly summarises what the script does, and what can and can't be modified.
There are sections within the script that are commented with DO NOT MODIFY. These sections are to not be modified.
To enter your AD domain details and LDAP search filter, scroll down to the 'Define site information here' section.
Enter your AD server details, search base and LDAP search filter into their respective areas.
Server - An AD server, or domain controller, hosts and manages Active Directory services. It stores user accounts, groups, computer objects, and other resources in a network domain.
Searchbase - A distinguished name (DN) or path that specifies where to search and
retrieve objects or information. Specifying the search base in AD
queries helps narrow the scope to specific organizational units,
containers, or domains.
Searchfilter - The criteria used to specify parameters for an Active Directory search, defining specific requirements for retrieving objects. It uses LDAP syntax, including attributes and logical operators, to create complex search conditions and narrow down results to the desired objects.
Once you have entered the details, save the file.