Thanks Denis,
I have an other issue which i can't sort out that is, I want to import my AD users with respect to location and departments .
For example i have Locations A1, A2 and A3 and have departments IT,Admin,HR, and Engineering in all locations.
It works fine with all locations and also work fine when i wrote( ou=IT, ou=A1) as an example.
but i want two Drop down list, in first list I select A1 as Location and want to select department IT or Admin from second list and then give user from both of them i.e. from A1 and IT.
Please help me to resolve this.
Thank you in advance.
I have an other issue which i can't sort out that is, I want to import my AD users with respect to location and departments .
For example i have Locations A1, A2 and A3 and have departments IT,Admin,HR, and Engineering in all locations.
It works fine with all locations and also work fine when i wrote( ou=IT, ou=A1) as an example.
but i want two Drop down list, in first list I select A1 as Location and want to select department IT or Admin from second list and then give user from both of them i.e. from A1 and IT.
Please help me to resolve this.
Thank you in advance.