Get(AccountName)

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.

Категории