Get(AccountType)

Returns the current account's authentication type.

Format 

Get ( AccountType )

Parameters 

None

Data type returned 

text

Originated in version 

18.0

Description 

This function returns one of the following values depending on the current user's account type.

For account type

Returns

FileMaker file: Guest

Guest

FileMaker file

FileMaker File

External server

External

Apple ID

Apple ID

OAuth: Amazon

Amazon

OAuth: Google

Google

OAuth: Microsoft Azure AD

Azure

OAuth: Customizable

Custom OAuth

Claris ID or external identity provider (IdP)

Claris ID <Team Name>, where <Team Name> is the name of the team the user is in

Example 1 

For a user signed in with a FileMaker file account named Admin, returns FileMaker File.

Example 2 

For a Claris ID user who is in the Favorite Bakery team, returns Claris ID Favorite Bakery.