How do I view all the groups a user is assoicated with?
A:
Here is some code that uses ADSI to display all the groups a user belongs too:
strDomain="MACHINENAME"
strUser="jdoe"
Set oUser = GetObject("WinNT://" & strDomain & "/" & strUser)
For Each oGroup In oUser.Groups
Response.Write(oGroup.Name & "<BR>")
Next
oUser=Nothing
oGroup=Nothing
Here is a COM tutorial written for Active Server Programmers. This tutorial will increase your understanding of COM fundementals so that you can use other components to expand your Active Server page applicatons.[Read The Tutorial]