| || |
Using REST to add new Site Users
Has anyone ever used the REST API or some other mechanism for automatically adding Site Users to ALM/QC? We are hoping to have our ALM/QC users automatically added to the Site Users list whenever our network security team adds the user to Active Directory / LDAP. Has anyone out there ever attempted this? If so, do you have any tips / tricks?
Seems that it's a pain. The admin API didn't show any methods for showing users that were in LDAP but not added. The API I assume just reads from the USERS table in the database
The hard way is to poll LDAP and get changes. I haven't attempted this as I don't have credentials to LDAP, but the general idea is:
How to poll for changes to the Active Directory by using Visual C#
Also, ActiveDs in in the %SYSTEMROOT%\SySWOW64 directory if you choose to attempt this. If you're able to get a new user, the admin API is the easy part of this equation.