Re: Unique identify a user-session
From: Mike Brannigan [MSFT] (mikebran_at_online.microsoft.com)
Date: 10/06/04
- Next message: Bahaa: "Event IDs 1030 & 1058 every 5 minutes"
- Previous message: Michael Mogensen: "Backup and RSM"
- In reply to: Stefan Westner: "Unique identify a user-session"
- Next in thread: Stefan Westner: "Re: Unique identify a user-session"
- Reply: Stefan Westner: "Re: Unique identify a user-session"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 6 Oct 2004 07:40:14 +0100
"Stefan Westner" <s@westner.de> wrote in message
news:OgeUP91qEHA.3868@TK2MSFTNGP15.phx.gbl...
> Hello,
>
> we have a win 2000-domain with Win 2000 Prof.-clients.
>
> At login and logout of a user we run a small programm which writes the
> login-time and the logout time to a file. Because a user could login at
> several PCs at the same time we need to identify a user-session.
>
> Does windows assign every logged-in user something like a unique ID
> which could be used?
>
> Example:
> User enter its password, login starts
> Windows stores the user-session somewhere with unqiue identifier
> Our login-script runs, read that identifier
> The user works the whole day and stays logged in
> The user logs out
> Our logout-script runs, read the unique indentifier and nows which user
> session has logged out
>
If you are writing to some log file the logon and logout time then why not
also log the machine the user is using to the file, so you can then collate
all the information for whatever purpose you desire later.
-- Regards, Mike -- Mike Brannigan [Microsoft] This posting is provided "AS IS" with no warranties, and confers no rights Please note I cannot respond to e-mailed questions, please use these newsgroups "Stefan Westner" <s@westner.de> wrote in message news:OgeUP91qEHA.3868@TK2MSFTNGP15.phx.gbl... > Hello, > > we have a win 2000-domain with Win 2000 Prof.-clients. > > At login and logout of a user we run a small programm which writes the > login-time and the logout time to a file. Because a user could login at > several PCs at the same time we need to identify a user-session. > > Does windows assign every logged-in user something like a unique ID > which could be used? > > Example: > User enter its password, login starts > Windows stores the user-session somewhere with unqiue identifier > Our login-script runs, read that identifier > The user works the whole day and stays logged in > The user logs out > Our logout-script runs, read the unique indentifier and nows which user > session has logged out > > Thanks > > Stefan
- Next message: Bahaa: "Event IDs 1030 & 1058 every 5 minutes"
- Previous message: Michael Mogensen: "Backup and RSM"
- In reply to: Stefan Westner: "Unique identify a user-session"
- Next in thread: Stefan Westner: "Re: Unique identify a user-session"
- Reply: Stefan Westner: "Re: Unique identify a user-session"
- Messages sorted by: [ date ] [ thread ]