Active directory groups refresh question

Tech-Archive recommends: Fix windows errors by optimizing your registry



This is not a programming question, per se, but I am writing a program
in VB.NET 2005 that checks the current user's group membership in Active
Directory. When I either add or remove a person from a group in AD, that
group change does not show up on the local machine until I log out and
log back in. Is there a way to force the group membership of the current
user to be updated from AD so that the membership is always current? In
case it makes a difference, I am using this line to get the membership:

System.Security.Principal.WindowsIdentity.GetCurrent.Groups.Translate
(GetType(System.Security.Principal.NTAccount))

Thanks.
.



Relevant Pages

  • Active Directory Group Membership
    ... I am writing a program in VB.NET 2005 that checks the current user's ... group membership in Active Directory. ... local machine until I log out and log back in. ...
    (microsoft.public.dotnet.languages.vb)
  • xp pro - win2k domain woes
    ... Can anyone tell me exactly what is needed for group membership, ... programs on their local machine as well as be a member to a win2k domain? ... I don't think you'd want everyone who has permission to install on their ...
    (microsoft.public.win2000.networking)
  • Re: Active directory groups refresh question
    ... Thanks for your suggestion. ... would have to use an Office .NET function. ... in VB.NET 2005 that checks the current user's group membership in Active ... group change does not show up on the local machine until I log out and ...
    (microsoft.public.windows.server.active_directory)
  • Re: Active directory groups refresh question
    ... Group membership is a part of authentication token, and you won't get an updated group list until you re-logon. ... you can use LDAPMembershipProvider to verify group membership: ... group change does not show up on the local machine until I log out and ...
    (microsoft.public.windows.server.active_directory)