|
I don't know if it's possible that way but what you could do is maintain a list of logged in users somewhere (text file, database, etc) i.e. add the name to the list on login, and remove it on logout. You can then just reference that list each time.
Alternatively, if you're using a database to store login details, add an extra field called 'LoggedIn' or something, make the type 'bit' (in SQL Server) or 'Yes/No' (in Access). then use something like SELECT * FROM Users WHERE LoggedIn = 1
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Please login or register to view this content. Registration is FREE | Please login or register to view this content. Registration is FREE
|