I am working on synchronization between internal .NET application between active directory for all users and groups. I am getting all users and groups from Active Directory and save these data in .NET application database.
I am using PrincipalContext
object for Active Directory queries. I want to determine if changing user or group to provide high performance. Is there any way that ; for example LastModifiedDate
property for GroupPrincipal
or UserPrincipal
objects.
I believe the User Attritbute you're looking for is called:
WhenChanged