how to change script so LDAP sync task only retrieves active users from AD

how to change script so LDAP sync task only retrieves active users from AD

by Nadirshah Ferozepurwalla -
Number of replies: 0

Running LDAP sync task retrieves all the users from AD, even the users disabled in Microsoft AD.

I want to alter the script such that it gets only the active users and not the disabled users from AD so that the remaining users (Disabled users in AD) can be marked as suspended in Moodle

Please help, I have no knowledge of AD code and parameters and methods

Average of ratings: -