Getting the Windows Groups for the Logged On User

From: MJ (mj23_at_yahoo.com)
Date: 03/24/04


Date: Wed, 24 Mar 2004 12:11:49 -0700

In my ASP.NET (C#) application, I can use HttpContext.Current.User.Identity.Name to get the name and domain (e.g., DOMAINNAME\USERNAME) of the logged on user. But I can't seem to figure out how to get that users' Windows groups (i.e., I need to get a list of all the Windows groups that the logged on user belongs to).

Does anyone know how to do this?

Thanks.