Returns the authenticated account name being used by the file's current user.
Get ( AccountName )
None
text
FileMaker Pro 7.0
If a user authenticates with the default Admin account, Get(AccountName) returns Admin. If the FileMaker Pro Advanced Guest account is used, then [Guest] will be returned.
When an account authenticates via an external server, the FileMaker ID identity provider system, or an OAuth identity provider with group credentials, Get(AccountName) returns the name of the authenticated account being used by the current user of the file, not the group the user is in. (The group name appears in the Manage Security dialog box when you define account access and privileges in FileMaker Pro Advanced.)
•Calculations should not depend on whether the account name returned by Get(AccountName) uses uppercase or lowercase letters. You can use a function such as Lower to change the returned text to a known case.
Returns bob@example.com when bob@example.com is the FileMaker ID user name that was used to sign in to the database file.
If a user enters BOB
when signing in to the Bob account (a FileMaker file account), Get(AccountName) returns BOB.