Solved

active directory c#

Posted on 2014-03-26
2
193 Views
Last Modified: 2014-04-11
Hi,

I can get session info from Active directory but I want to know if it is possible to have an event which can trigger when new user log in (session created) or log out. Is it possible to get any event from active directory?

Thanks
0
Comment
Question by:josephm67
2 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 39956894
You can register for change notification with AD. You do it by register a notification with AD and specifying a callback handler in your application.

Further details, and example, here: http://dunnry.com/blog/ImplementingChangeNotificationsInNET.aspx
0
 

Author Closing Comment

by:josephm67
ID: 39994519
thx
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question