Reference > Functions reference > Get functions > Get(CurrentExtendedPrivileges)
 
Get(CurrentExtendedPrivileges)
Purpose 
Returns a list of keywords, based on the account used to evaluate this calculation, for the enabled extended privileges.
Format 
Get(CurrentExtendedPrivileges)
Parameters 
None
Data type returned 
text
Originated in 
FileMaker Pro 6.0 or earlier
Description 
The keywords in the list 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 for the current database 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(AccountExtendedPrivileges) function.
Examples 
The account that is evaluating this calculation uses a privilege set that includes the extended privilege of Access Via FileMaker WebDirect (keyword "fmwebdirect"):
Position(Get(CurrentExtendedPrivileges); "fmwebdirect"; 1; 1) returns a value greater than 0.
If you are logged in and running a script that is set to run with full access privileges, Get(AccountExtendedPrivileges)returns the extended privileges for your account, but Get(CurrentExtendedPrivileges)returns the extended privileges for the Admin account.
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