title: Is LDAP query against AD atomic?
body: <p>I have a C++ application that runs LDAP queries against Active Directory.
  The API I am using is explained at <a href="https://docs.microsoft.com/en-us/windows/win32/api/iads/nf-iads-idirectorysearch-executesearch" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/windows/win32/api/iads/nf-iads-idirectorysearch-executesearch</a>.</p>
  <p>Is LDAP select query against active directory atomic?</p>
  <p>Or to put it another way: What would happen if AD changes while a LDAP query is running?</p>
  <p>EXample: Imagine there are two users and my query is collecting users list. After collecting user_1, another query deletes user_1 and creates user_3. Does my query collects user_2 and user_3 or the server hides the new changes from it?</p>