Reference > Functions reference > Get functions > Get(AccountGroupName)
 
Get(AccountGroupName)
Purpose 
Returns the current account’s group name when the account authenticates via an external server or an OAuth identity provider.
Format 
Get(AccountGroupName)
Parameters 
None
Data type returned 
text
Originated in 
FileMaker Pro 16.0
Description 
If the current account doesn’t authenticate via a group on an external server or an OAuth identity provider, this function returns an empty string.
Notes 
OAuth identity providers may return an ID rather than a group name.
Example 1 
Returns Marketing if you are logged in to an account that belongs to the Marketing group on the external server.
Example 2 
Returns e849544f-8a50-4c6e-b1c3-d38c7dc2bfd3 if you are logged in to an account that belongs to a group with the ID "e849544f-8a50-4c6e-b1c3-d38c7dc2bfd3" on the OAuth identity provider.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas