Last post Feb 18, 2014 02:16 AM by venkimca
Dec 18, 2013 01:23 PM|venkimca|LINK
I have a requirement like get all samaccounts based on employee id will be stored in DB. For that we will do like we send the employee id ,get the all samaccounts based on that employeeid, inserted into DB. We need to do this steps around 5lakh times. So
it will take lot of time ..
Can you please suggest any better way to do this?I required all SAMACCOUNTNAMES with employee id's . I observed multiple SAMACCOUNTNAMES available for same employee id.
thanks & Regards,
Dec 18, 2013 01:40 PM|PatriceSc|LINK
Unclear. What is the "employee id" you are talking about. Is it a SID ? A user principal name ? Having multiple samaccountnames for a single employee id looks strange so it seems this "id" isn't really an id.
Sometimes it's best to explain what you are trying to do rather than how you think it should be done. It sometimes allows to get other better suggestions for achieving your goal...
Feb 18, 2014 02:16 AM|venkimca|LINK
I solved this issue by using the bulk downloaded from active dirctory based on SAMaccount . And later i compared with my DB employee ID's and inserting into my DB which employee ID's are mached to my list. This will take 13 mints to update around 3lakh recoreds
from AD to DB.