Active Directory userAccouont changes using dotnet

Hi,
   I have to display changes made in active directory.
   for example if a users adress or phone number is updated in active directory then that should be
   displayed on page automatically.i didnot know how to start either.
comparing the active directory for the past day is ok.
please help me with some c# or Vb.net code if anyone came accross such type of situation.

thanks
Pradeep16Asked:
Who is Participating?
 
DhaestCommented:
Perhaps you could take a look at this code
http://www.c-sharpcorner.com/UploadFile/jodonnell/ListingADUsers07022005005138AM/ListingADUsers.aspx

If you got all the users in a list, dataset, ... you can easily write it into a textfile
0
 
DhaestCommented:
Active Directory in C# and .NET - Tutorials, Articles, Source code, FAQ, Discussions
http://www.c-sharpcorner.com/Articles/ArticleListing.aspx?SectionID=1&SubSectionID=1

Query Active Directory Users using C#
http://www.willasrari.com/blog/query-active-directory-users-using-c/000133.aspx
0
 
Pradeep16Author Commented:
i wanna know when they update active directory,then web application should know that and display in the form.how
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
DhaestCommented:
I guess that it's impossible to create some kind of watch, that will trigger an event to your website to refresh the data. Is it that important that it refreshes the data automatically ? Is the data shown all day or is the data displayed when the user goes to that page ?
0
 
Pradeep16Author Commented:
atleast is there any possiblity that we can check the difference from today to yesterday.
if they change in 24 hrs then it can be displayed that change. (not automatically )
0
 
Pradeep16Author Commented:
Can anyone help me how to store Active directory user account in some file like text file or something a
0
 
Pradeep16Author Commented:
If there is a change in fields in sqlserver can we display the changes,comparing yesterday to today.please help me .
0
 
Pradeep16Author Commented:
not for a particular user but for complete table if there is change can we get the changes in a data table
0
 
DhaestCommented:
I'm not sure where the asker still has problems... I gave a solution for the following items:
- Query Active Directory Users using C#
- all the users in a list, dataset

The only thing he still needs to do is to write a routine to check if the values from today are the same (or differences) against yesterday...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.