Closed MarcosRLeao closed 5 years ago
Hi @MarcosRLeao,
The --delete
option will only soft-delete your imported LDAP users located in your applications database, if your configured eloquent model has the SoftDeletes
trait and the users LDAP account is disabled.
The import
command is read only from your LDAP server. It does not write-back anything, nor delete users.
You can read more here:
https://adldap2.github.io/Adldap2-Laravel/#/auth/importing?id=delete
As well as view the source code here:
I hope that answers your question!
Ty, How do I only import active AD users? Have many disabled users in my AD
Sorry my english.
Description:
php artisan adldap:import --delete
With this I only import the active users in my laravel bank? Is there no risk of deleting anything in the active directory?
Ty!