How to convert this into c#

Dec 13 2004 9:50 AM
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.