0
Reply

How do you do it in .Net??

dotnetterz

dotnetterz

Dec 13 2004 9:43 AM
1.8k
In classic ASP I can get the NT User object and display all the groups that user belongs to by using the following code: inUser = request.servervariables("AUTH_USER") set objUser = getObject("WinNT://" & replace(inUser, "\", "/") & ",user") for each vntGrp in objUser.Groups Response.write vntGrp.Name & "
" next Can anyone please help me to find the NT group name of current user using ASP.net? Thanks an lot for your help and time.