Reference > Functions reference > Get functions > Get(AccountGroupName)
 

Get(AccountGroupName)

Returns the current account's group name.

Format 

Get ( AccountGroupName )

Parameters 

None

Data type returned 

text

Originated in 

FileMaker Pro 16.0

Description 

If the current user's account type is one of the following, this function returns information about the group the user is in; otherwise, it returns an empty string.

 

For account type

Returns

FileMaker ID account

FileMaker ID group name

External server account

Group name

OAuth identity provider account

Group object ID

Example 1 

Returns Sales if you are signed in as a FileMaker ID user who is in the Sales group of a FileMaker ID team.

Example 2 

Returns Marketing if you are signed in to an external server account that belongs to the Marketing group on the authentication server.

Example 3 

Returns e849544f-8a50-4c6e-b1c3-d38c7dc2bfd3 if you are signed in to an account that belongs to a group with the ID "e849544f-8a50-4c6e-b1c3-d38c7dc2bfd3" on Microsoft Azure AD, an OAuth identity provider.

Related topics 

Managing security

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas