![]() |
Query Active Directory using Employee ID
Hello Guy's
I need help on developing a query script to search for specific employee ID. Currently I'm having to disable about 50 user accounts per day and need a script to help me program this. I've developed some code already that read's a value from a file and then it queries AD but is not finding anything when I search for the value of the "Employee ID" value. When I change to code to query for a specific user's job title it does fine accounts. Here is the code that I have put together already but it's coming up empty when I look for specific employee id's. Code:
Dim sCSVFile, objFSO, objTextFile |
Re: Query Active Directory using Employee ID
Hey man lose the space between employee and ID in your ldap command. that should get you goin
|
Re: Query Active Directory using Employee ID
Guys: i need some more help in using this script. What is the format of csv file? can i replace employeeid with employeenumber?
In my org ...we have employeenumber attribute for employee id;s. i have a requirement to read the employee id's from a text/csv file and disable those id's and move them to a new ou called "disabled accts" Any help greatly appreciated. -Sreenu |
| All times are GMT +5.5. The time now is 13:47. |