AppDomain.CurrentDomain.SetPrincipalPolicy(Princip alPolicy.WindowsPrincipal)
Dim authuser As WindowsPrincipal =
CType(System.Threading.Thread.CurrentPrincipal, WindowsPrincipal)
Dim strUserName As String = authuser.Identity.Name.ToString
strUserName = Right(strUserName, Len(strUserName) -
InStr(strUserName, "\"))
Session("UserName") = strUserName.ToUpper
'AUTHENTICATION TO APPLICATIONS
Dim strUserRights As String =
authuser.IsInRole("mydomain.com\MYGROUPNAME").ToSt ring
Question: I am using the above code to see if a user is a member of a group
in my domain. Is there a way to get a list of the users email address that
are within this group -- (MYGROUPNAME)
--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/