Title: Automatic sync from group when login
Last modified: March 10, 2017

---

# Automatic sync from group when login

 *  [aleksluik](https://wordpress.org/support/users/aleksluik/)
 * (@aleksluik)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/automatic-sync-from-group-when-login/)
 * Hello,
 * In my understanding, it is possible to sync users to wordpress from AD also while
   he/she login in to the site (?) Is it correct?
 * My problem is, that I have a couple of thousand persons in my AD group and cronjob
   is syncing AD to Worpress in every 15 minutes. In 24hours it would make almost
   2,3 million new lines to database (because I have to log all the activity).
 * Is it possible to configure NADI to sync each user only when login in? Not syncing
   all the AD list together.
    OR can you make it work like this, if there are no
   edits in user’s information then it does not rewrite/update it in database?
 * All the best

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [medan123](https://wordpress.org/support/users/medan123/)
 * (@medan123)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/automatic-sync-from-group-when-login/#post-8897640)
 * Hello aleksluik,
    yes this is possible by activating the option “Automatic user
   synchronization”. For further information please take a look at [https://active-directory-wp.com/docs/Configuration/User.html](https://active-directory-wp.com/docs/Configuration/User.html)
 * greetings
    medan123
 *  Thread Starter [aleksluik](https://wordpress.org/support/users/aleksluik/)
 * (@aleksluik)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/automatic-sync-from-group-when-login/#post-8897686)
 * Maybe there is problem with my CAS plugin, because it redirects me to cas error
   page and says that no user account like this.
 * Do you know any CAS plugin which works with NADI?
 * Thanks
 *  [medan123](https://wordpress.org/support/users/medan123/)
 * (@medan123)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/automatic-sync-from-group-when-login/#post-8897768)
 * If the plugin your using is using the WordPress authenticate filter it is possible
   that it wont work with NADI authentication. I am sorry but we did not test any
   CAS plugin in combination with NADI.
 * greetings
    medan123

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Automatic sync from group when login’ is closed to new replies.

 * ![](https://ps.w.org/next-active-directory-integration/assets/icon-256x256.png?
   rev=2517660)
 * [Next Active Directory Integration](https://wordpress.org/plugins/next-active-directory-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/next-active-directory-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/next-active-directory-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/next-active-directory-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/next-active-directory-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/next-active-directory-integration/reviews/)

## Tags

 * [group](https://wordpress.org/support/topic-tag/group/)
 * [NADI](https://wordpress.org/support/topic-tag/nadi/)
 * [users](https://wordpress.org/support/topic-tag/users/)

 * 3 replies
 * 2 participants
 * Last reply from: [medan123](https://wordpress.org/support/users/medan123/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/automatic-sync-from-group-when-login/#post-8897768)
 * Status: not resolved