M
Mark Clark
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? I am using this line to get the
membership:
System.Security.Principal.WindowsIdentity.GetCurrent.Groups.Translate
(GetType(System.Security.Principal.NTAccount))
Thanks.
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? I am using this line to get the
membership:
System.Security.Principal.WindowsIdentity.GetCurrent.Groups.Translate
(GetType(System.Security.Principal.NTAccount))
Thanks.