2
Reply

Get Users from Domain and Active Directory -PLEASE HELP

Riddhi Valecha

Riddhi Valecha

Jan 12 2015 7:32 AM
668
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.

Answers (2)