![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Get functions > Get(AccountName) function |
|
|
| Get(AccountName) function |
| Format |
Get(AccountName) |
| Parameter |
| None |
| Data type returned |
| text |
| Description |
| For FileMaker authentication, Get(AccountName) returns the name of the authenticated account being used by the current user of the database file. If a user is using the default Admin account, Get(AccountName) returns Admin. If a user is using the FileMaker Pro guest account then [Guest] will be returned. |
| Notes |
| If you specify the context 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 Solving calculations on a host machine for information about running scripts in client/server and peer-to-peer environments. |
| Example |
| Returns Marketing when Marketing is the name of the account that was used to log in to the database file. |
| Related topics |
| Protecting databases with accounts and privilege sets |
| Creating accounts that authenticate via an external server |
| Get(UserName) function |
| Functions reference (category list) |
| Functions reference (alphabetical list) |
| About formulas |
| About functions |
| Defining calculation fields |
| Using operators in formulas |
|
|
| Contents > Functions reference (alphabetical list) > Get functions > Get(AccountName) function | Next Page |