Hi all.

I have ...

string[] users = new string[] {"A", "B", "C", "D", "E", "F"}

How do I get all properties in ResultPropertyCollection, ResultPropertyValueCollection -
of all the users in the users array..

Please help me in making the loop....
Also, Please help me out in my other post -
 
http://www.c-sharpcorner.com/Forums/active-directory-users-data
 
I have to get all details without LDAP Server...
 
I want the data in the following format -
 

I have a domain – abc.xyz.com (Right Click on My Computer -> Domain)

HostName

DomainName

LastLogin

Bad Password

Email

Emp Code

EmpName

Full Name

Depaartment

Offlice Location

Manager

Contact

DT0012345

Abc.def

10-feb-2015 6:7:44

4

[email protected]

E1

Mahesh Bhatt

Mahesh Bhatt

Database

Jamnagar, Gujarat

Rajesh Bhatt

4567890

DT0056789

Fhi.jkl

10-feb-2015 5:5:5

2

[email protected]

E2

Shruti Shah

Shruti Shah

Testing

Silvasa , Gujarat

Rajesh Bhatt

8765443322

 
 
Requirement is - I have to make an online application that shows the system status on continuous basis of all users, along with their details ...
Just like in news channels, news keep flashing , I have to keep flashing the data on continuous basis of all users ...
This will include everything - Last login date, manager name, email id, emp code, etc ...
User/Domain Last Login Date Time Last Logout Date Time Manager Emp CodeAbc.xyz.com 1-jan-2016 1:1:1 2-jan-2016 3:3:3 Mahesh Bhatt 12345
User Properties - Emp Code, email, manager name, email , department, location, company joining date, company leaving date(if applicable), etc 
 
Also, if possible, all the domain names in a network... 
 
Please help...its urgent...