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 version 

11.0

Description 

The keywords are separated by carriage returns. Extended privileges are additional access rights assigned to the privilege set of an account access. 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.

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 access. (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