My Requirements are -
1.
string Domain = System.Net.NetworkInformation.IPGlobalProperties.GetIPGlobalProperties().DomainName;
-----
Get all users from this domain.
Display them in GridView and also insert those in SQL Server Table.
----------------------------------------------------------------------------------------------
2.
Consider any MNC (Say TCS, Infosys, IBM, etc).
For Example, take an MNC IBM.
IBM is in India, USA, etc and many other places.
Now,
How to get all the users of IBM ?? And display them in gridview ??
In short,
If I want to get all the users of my company, whether the user is in US, UK, India, where ever, how do I get them ??
I can get the domain from My Computer (in.abc.com).
But, how to get users of abc.com (IBM.com)
Please help.
This is on Urgent basis.
Loading

Posted Jan 2, 2015, 1:38 AM EST
Otherwise, you can not do this.
Riddhi ValechaRank #794 · 2.9K reputationPosted Jan 4, 2015, 9:31 PM EST
Mr. Murlidharan,
Please guide further..
Yes.... I do have Active Directory Server......
Posted Jan 4, 2015, 11:32 PM EST
Riddhi ValechaRank #794 · 2.9K reputationPosted Jan 5, 2015, 12:35 AM EST
Yes.... I do... I have admin rights....
Path -
Control Panel -> Programs and Features -> Turn Windows Features on or off ->
How do I get the users list in asp.net c# in a datatable??
I have to display these users in a gridview....
Please guide further...
Please explain.. Please help....
It is really urgent