Active Directory Group Membership

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top