Dear list,
In the corporation, we want to know who is using which computer, and do
some phone routing based upon this information.
When a user log's uses it's account to login, the phone on the desk
should also ring on the same desk. When the user leave's / sleeping, we
dont want the phone to ring, so we want to detect this also.
By using a service i can keep a program running, without irritating the
users with icon's / message's at startup,.. etc so i want to use a service.
My problem is, how i can catch the login / inactivity / logout. Maybe
there are some hooks which i could use? or should i look at the
processlist every so much time, and determine the activity based upon this? 2 5516
Eduard,
I don't think that a service is the way to go here. I think for this,
you want to write a replacement for the Graphical Identification and
Authentication DLL (GINA.dll). It will allow you to determine when someone
logs in, as well as when the machine is locked/hibernated, etc, etc.
For more information, check out the following document at MS: http://www.microsoft.com/technet/pro...ty/msgina.mspx
Hope this helps.
"Eduard Witteveen" <ne**@nerNOSPAMgens.org> wrote in message
news:44***********************@news.euronet.nl... Dear list,
In the corporation, we want to know who is using which computer, and do some phone routing based upon this information. When a user log's uses it's account to login, the phone on the desk should also ring on the same desk. When the user leave's / sleeping, we dont want the phone to ring, so we want to detect this also.
By using a service i can keep a program running, without irritating the users with icon's / message's at startup,.. etc so i want to use a service. My problem is, how i can catch the login / inactivity / logout. Maybe there are some hooks which i could use? or should i look at the processlist every so much time, and determine the activity based upon this?
Auditing Logon/Logout events is one possible option, you just have to
read/parse the Security log to find the successful logon/logoff messages in
your service.
Another option is to install an ManagementEventWatcher (using
System.Management) to capture the Logon/Logoff WMI Win32_LogonSession
events.
Willy.
"Eduard Witteveen" <ne**@nerNOSPAMgens.org> wrote in message
news:44***********************@news.euronet.nl...
| Dear list,
|
| In the corporation, we want to know who is using which computer, and do
| some phone routing based upon this information.
| When a user log's uses it's account to login, the phone on the desk
| should also ring on the same desk. When the user leave's / sleeping, we
| dont want the phone to ring, so we want to detect this also.
|
| By using a service i can keep a program running, without irritating the
| users with icon's / message's at startup,.. etc so i want to use a
service.
| My problem is, how i can catch the login / inactivity / logout. Maybe
| there are some hooks which i could use? or should i look at the
| processlist every so much time, and determine the activity based upon
this? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Lalit |
last post by:
Hi Friends,
I have developed a Windows service. Now i need icon for this service in
systray and context menu fo this icon. Can i do this?
With regards,
Lalit
|
by: leslie_tighe |
last post by:
Hello,
I have a set of web services running on Java server that are exposed
through axis 1.2.1. I can invoke these services in browser and through
a java test client. However, when I try to...
|
by: leslie_tighe |
last post by:
Hello,
I have a webservice running on a J2EE server created with Axis 1.2.. I
have a client that I am building in .net that needs to consume this
webserivce and am having a bit of trouble. I have...
|
by: André |
last post by:
Hi,
When clicking on "remember me" when logging, the user asks for not to have
to log in next time he visits the site.
Now, on one side, i read it is recommended to logout properly (clicking...
|
by: shankhar |
last post by:
Hi all,
In my project there is a requirement. If a user logged in at a time
since he/she logged out others are not allowed to loggin using the
same user name. That is to avoid multiple logins...
|
by: Jennifer.Berube |
last post by:
okay...so I got this login script and I edited it all and it seems to
run fine...IE it listens to the script as far as permissions go when I
place a restriction on a page and when you login it...
|
by: Kandiman |
last post by:
Hiya, i made a asp page, and one of my divs (as a include) is as below. the problem is if the main page is resubmitted, i get logged out again?...
heres the code.. i think its on the value=true...
|
by: satishknight |
last post by:
Hi,
Can some one tell me how to change the validation sequence for the code pasted below, actually what I want it when any one enters the wrong login information (already registered users) then it...
|
by: DavidPr |
last post by:
When I logout as one user and log in under a different user, it opens with the last user's information.
User 1 - Unsername: Davey Jones
User 2 - Unsername: David Smith
I log out from Davey...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |