Category: Get
Syntax: Get ( AccountName ) |
Parameters: None
Data type returned: Text
Description:
Returns the name of the authenticated account being used by the current user of the database file. If a user is logged in under the default Admin account, Admin is returned. If a user is using the FileMaker Pro guest account, then [Guest] is returned.
For external server authentication, Get(AccountName) returns the name of the authenticated account being used by the current user of the database file, not the group to which the user belongs. (The group name appears in the Account list when you define accounts and privileges in FileMaker Pro.) If an individual belongs to more than one group (account), the first group name listed when you View By Authentication Order while defining accounts and privileges determines access for the user.
Get ( AccountName ) can be used to retrieve the account name of the current user for purposes of logging or auditing database access.
Examples:
Function |
Results |
---|---|
Get ( AccountName ) |
Returns klove when the current user is logged in with the klove account. |
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
Calculation Signatures
Calculation Functions
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Scripting Primer
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information