[FX.php List] [OT] Is it possible to see which fmapp users are logged into a database file from within FileMaker?

Joel Shapiro jsfmp at earthlink.net
Thu Mar 19 18:20:54 MDT 2009


(wouldn't people then need to log out in the reverse order they  
logged in?)

One other option would be to capture Get(AccountName) in an OnOpen  
script and place it in some prefs table, and then purge it OnClose.

I'm not saying it's a nice option, but an option it is.

-Joel


On Mar 19, 2009, at 5:07 PM, Gjermund Gusland Thorsen wrote:

> That’s nice, now I can use my login table and show the (
> Get(UserCount) - 1 ) last logins that has not yet logged out :-)
>
> ggt
>
> 2009/3/20 Joel Shapiro <jsfmp at earthlink.net>:
>> see: Get(UserCount)
>>
>> http://www.filemaker.com/help/html/func_ref2.32.79.html#1045012
>>
>> Description
>> Returns:
>> 1 if FileMaker network sharing is turned off
>>
>> 1 + the number of clients if FileMaker network sharing is turned on
>> This function does not count clients accessing the database file  
>> via ODBC or
>> JDBC.
>>
>> Examples
>> Returns 5 when there are 4 clients accessing the database file.
>>
>> -Joel
>>
>>
>> On Mar 19, 2009, at 4:55 PM, Gjermund Gusland Thorsen wrote:
>>
>>> Hmm, that’s nice, and explains why it always tells me the number  
>>> 2 :-)
>>> and not the amount of users currently connected.
>>>
>>> ggt
>>>
>>> 2009/3/19 Karstyn McCoy <kmccoy at supportgroup.com>:
>>>>
>>>> Get ( MultiUserState ) let's you know the level of network  
>>>> sharing that
>>>> file
>>>> has been set to.
>>>>
>>>> From FM Help:
>>>>
>>>> Purpose
>>>> Returns a number representing the level of sharing for the  
>>>> database file
>>>> using FileMaker Network.
>>>> Format
>>>> Get(MultiUserState)
>>>> Parameters
>>>> None
>>>> Data type returned
>>>> number
>>>> Description
>>>> Returns:
>>>>>>>> 0 when network sharing is off
>>>>>>>> 1 when network sharing is on, you’re accessing the database file  
>>>> from the
>>>> host computer, and either all users or a specific group of users  
>>>> (based
>>>> on
>>>> their privilege set) have network access to the database file
>>>>>>>> 2 when network sharing is on, you’re accessing the database file  
>>>> from a
>>>> client computer, and either all users or a specific group of  
>>>> users (based
>>>> on
>>>> their privilege set) have network access to the database file
>>>> Notes
>>>>>>>> If the current calculation is stored and you specify its  
>>>> context, this
>>>> function will be evaluated based on that context; otherwise, it  
>>>> will be
>>>> evaluated based on the context of the current window.
>>>>>>>> For information on how functions evaluate differently on the  
>>>> host versus
>>>> the
>>>> client, search the FileMaker Knowledge Base available at
>>>> www.filemaker.com/kb.
>>>> --Karstyn
>>>>
>>>> On Thu, Mar 19, 2009 at 1:37 PM, Gjermund Gusland Thorsen
>>>> <ggt667 at gmail.com>
>>>> wrote:
>>>>>
>>>>> And this thing?
>>>>>
>>>>> Get ( MultiUserState )
>>>>>
>>>>> What is it for?
>>>>>
>>>>> ggt
>>>>>
>>>>> 2009/3/19 Steve Winter <steve at bluecrocodile.co.nz>:
>>>>>>
>>>>>> ggt,
>>>>>> as far as a I know it's not possible within FM itself, but it  
>>>>>> is from
>>>>>> within
>>>>>> FMS... and it is from the FMS command line tool, which means  
>>>>>> that you
>>>>>> could
>>>>>> write a simple PHP script to query the fms command line tool,  
>>>>>> and then
>>>>>> call
>>>>>> that from the web viewer...
>>>>>> cheers
>>>>>> S
>>>>>>
>>>>>> On 19 Mar 2009, at 20:14, Gjermund Gusland Thorsen wrote:
>>>>>>
>>>>>> Is it possible to see which fmapp users are logged into a  
>>>>>> FileMaker
>>>>>> database file _now_ from within FileMaker?
>>>>>>
>>>>>> When people are logged in is not that interesting as those are  
>>>>>> logged
>>>>>> in a login table.
>>>>>>
>>>>>> tia,
>>>>>> ggt667
>>>>>> _______________________________________________
>>>>>> FX.php_List mailing list
>>>>>> FX.php_List at mail.iviking.org
>>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>>>>
>>>>>>
>>>>>> Steve Winter
>>>>>> steve at bluecrocodile.co.nz
>>>>>> m: +44 77 7852 4776
>>>>>> 3 Calshot Court, Channel Way
>>>>>> Ocean Village, Southampton SO14 3GR
>>>>>>
>>>>>> _______________________________________________
>>>>>> FX.php_List mailing list
>>>>>> FX.php_List at mail.iviking.org
>>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> FX.php_List mailing list
>>>>> FX.php_List at mail.iviking.org
>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> FX.php_List mailing list
>>>> FX.php_List at mail.iviking.org
>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>>
>>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list