Answer the question
In order to leave comments, you need to log in
How to create/sync a Laravel model?
I use the ldaprecord package and upload a list of all users:
$users = User::in('OU=Users,OU=DOMAIN.LOCAL,DC=DOMAIN,DC=local')->whereHas('samaccountname')->orderBy('cn')->get();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question