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

Get(AccountExtendedPrivileges)

Returns a list of keywords, based on the account used to open the file, for the enabled extended privileges.

Format 

Get(AccountExtendedPrivileges)

Parameters 

None

Data type returned 

text

Originated in 

FileMaker Pro 11.0

Description 

The keywords are separated by carriage returns. Extended privileges are additional access rights assigned to an account’s privilege set. See About accounts, privilege sets, and extended privileges.

Returns an empty list if a user doesn’t have extended privileges assigned to the account used to open the file.

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 also Get(CurrentExtendedPrivileges) function.

Example 1 

If you are logged in with a privilege set that includes only the Access via FileMaker WebDirect extended privilege:

Get ( AccountExtendedPrivileges ) returns fmwebdirect.

Example 2 

If you are logged in and running a script with full access privileges, Get(AccountExtendedPrivileges) returns the extended privileges for your account. (By contrast, Get(CurrentExtendedPrivileges) returns the extended privileges for the Admin account.)

Assume the [Read-Only Access] privilege set includes the Access via FileMaker Network extended privilege, and the [Full Access] privilege set includes the Access via FileMaker Network and Access via FileMaker WebDirect extended privileges. If you are logged in with the Guest account and run a script set to run with full access privileges:

Get ( AccountExtendedPrivileges ) returns fmapp

Get ( CurrentExtendedPrivileges ) returns

fmapp
fmwebdirect

Related topics 

Protecting databases

Creating accounts that authenticate via an external server

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas