I run a sample for authenticating a user from a asp.net page using Active Directory (http://msdn.microsoft.com/library/de...SecNetHT02.asp
I manage to authenticate the user, but when I try to list the users groups I get the following error
"The specified domain either does not exist or could not be contacted
I get the error on the last row in this code snippet (I've converted the code to VB.net)
--------------------------
If True = adAuth.IsAuthenticated(txtDomainName.Text, txtUserName.Text, txtPassword.Text) The
' Retrieve the user's group
Dim groups As String = adAuth.GetGroups(
---------------------------
How come I can authenticate the user but not get his groups?? Any tips would be appreciated!