Solved

active directory c#

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Media.Imaging 1 18
Disable Security Alert  popup in Winforms  embedded webbrowser. 1 25
C# Gridview 1 29
RLDC Reporting in Visual studio 11 13
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

785 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