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

External server account

Group name

OAuth identity provider account

Group object ID

Example 1 

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

Example 2 

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