Riddhi Valecha

Riddhi Valecha

  • 444
  • 3.3k
  • 412.8k

Get Users from Domain - IMP & URGENT

Jan 1 2015 1:40 AM
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.

Answers (4)