Search code examples
c#active-directoryldapmembership

Why users are no longer members of active directory group after few minutes?


I am adding users to an active directory group using C# code after performing some operations. I verified that the users are listed in the 'Members' tab of that security Group. A couple of minutes later, I opened again the same group properties and most of the users are no longer there. Is this normal? How come? Are there some properties or timeout or session specific things do associated. ( But to be honest all these users have the same settings on their 'Session' and 'Account' tabs. I verified these settings by opening for the users that are still the part of that group and compared with the members which are no longer the part of the group any more.

Can anybody let me know?


Solution

  • Thanks Guys.

    I verified. The problem was there was another process going on which was removing the users from Active Directory which were basically created at different 'Ou' level. This process was checking the membership of the users and finally removing the users from security group.