Syntax: Get ( ExtendedPrivileges )
Data type returned: Text
Returns a delimited list of extended privileges, separated by carriage returns, currently assigned for use by the active account in a given database file. Extended privileges are additional access rights assigned to a privilege set; by default they control such things as access via the Web, via ODBC/JDBC, and via FileMaker Networking, but developers can add their own extended privileges as well.
If the user's privilege set doesn't have any extended privileges enabled, Get( ExtendedPrivileges ) returns an empty list.
To test whether a user has a certain extended privilege, use one of the following formulas:
PatternCount (Get (ExtendedPrivileges); "salesNorthWestRegion")
If this function returns anything other than 0, then the user has the salesNorthWestRegion extended privilege.
The Position() function can also be used:
Position (Get (ExtendedPrivileges); "fmiwp"; 1; 1)
In this case, any value greater than 0 indicates the presence of the fmiwp privilege.
If the currently logged-in account uses a privilege set that includes the extended privileges of Access via Instant Web Publishing (keyword fmiwp) and Access via FileMaker Network (keyword fmapp).
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information