November 28, 200124 yr Is it possible to get a list of the users who are currently using a database? We're using a Helpdesk callregistration database and I'm going to put it online with web-companion. On the helpdesk-site I want to enable the users to see which employee is in the house/online. Thanks in advance! Greetz, Jorick
November 28, 200124 yr This could be done by a scripted routine whereby on accessing the file, the user name is captured, and when leaving the system, the name is deleted. Do not use globals for this. HTH Old Advance Man
November 28, 200124 yr Status(CurrentGroup) has worked for me in the past, where I assign each user their own group under access privileges and create a Calc field whose value is replaced when the user presses a login button.
November 28, 200124 yr If it's going to be done throught he web with Web Conpanion, forget Status(CurrentGroups) etc. Definately *do not* use scripts. Set up the Web Security databases to handle log-ins, and create a separate username and password for each user. Use the CDML tag [FMP-ClientUserName] to determine which username was authenticated. It's that easy. The trick of course is to set up the usernames to make sense: something like "firstname.lastname" is easy to work with and can be displayed in a meaningful manner without any processing.
December 4, 200124 yr Author That's an option, but then I have to create the whole tool for the Intranet, while I only wanted the users to get the status of their call, and the status of the helpdesk (availability, company global issues, etc).. I think I'll just add another file with nothing but two fields: username and logged_on_status. Then I'll create some HTML to find all logged_on_status="logged_on" and display that list. Thanks for your advices
Create an account or sign in to comment