Hi...
Please help me to get users from AD and Domain-
1.
Domain from-
HttpContext.Current.User.Identity.Name
2.
Domain From-
Environment.UserName
3.
Users from Active Directory.
I want these list is a datatable and display them in a gridview.
I have users in-
Control Panel -> Programs and Features -> Turn windows features on/of -> Windows Features dialog box.
PLease help. It is urgent.
Get Users from Domain and Active Directory -PLEASE HELP
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Ramesh MaruthiRank #937 · 2.2K reputationPosted Jan 12, 2015, 4:01 AM EST
Riddhi ValechaRank #794 · 2.9K reputationPosted Jan 13, 2015, 7:44 PM EST
I do not want this is MVC Application.
I want this in simple asp.net web application.
I have already visited this site before posting this issue.