Filemaker Pro 8.5 Advanced Maintenance TG762Z/A User Manual

Product codes
TG762Z/A
Page of 238
118     FileMaker Functions Reference
Description
Returns the number of clients currently accessing the file. 
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 the 
 or 
.
Notes
 for the current calculation, this function will be evaluated 
based on that context; otherwise, it will be evaluated based on the context of the 
current window.
See FileMaker Pro help for information about running 
 in client/server and 
peer-to-peer environments.
Example
Returns 
5
 when there are 4 clients accessing the database file.
Get(UserName)
Format
Get(UserName)
Parameter
None
Data type returned
text
Description
Returns the name of the FileMaker Pro user, as specified in the 
General
 tab of the 
Preferences dialog box. The returned name is user-specified.
Important  
For greater security, use Get(AccountName) to track and manage user 
access: a user cannot change the account name used to log in to a database file.
Note  
See FileMaker Pro help for information about running 
 in client/server and 
peer-to-peer environments.
Example
Returns 
Sharon Lloyd
 when Sharon Lloyd is the current user.