I'm trying to create a script either as a .bat file or stored procedure. The script would look at all the users of Active Directory with a particular attribute and I can then import or update those users in another system / database.
Is it possible to connect to the database of Active Directory by mySQL ? If so, can someone point me in the right direction on how I would achieve this? I'm more of a Javascript / PHP guy.
Apologise for the vague question.