简体   繁体   中英

Can I get updates (DirSync Cookie) in Active Directory with paging?

I am using DirSync Control (Cookie) to get the latest changes using the below technique. Is it possible to get that result with pagination?

https://docs.microsoft.com/en-us/windows/win32/ad/polling-for-changes-using-the-dirsync-control

Example: If 500 updates have happened, can i get updates from 1-50, or 51-100 (paging with skip)?

The result returned is paginated. You need to put the cookie, returned from the previous response into the next request. However, from my experience the number of changes on every page may vary. You can set the upper border, but I would not recommend to rely on it. If you want to display/send changes in batches with predefined size additional processing should be done on the client side

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM