Solved

active directory c#

Posted on 2014-03-26
2
188 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now