Get(ExtendedPrivileges)

 <  Day Day Up  >  

Get(ExtendedPrivileges)

Category: Get

Syntax: Get ( ExtendedPrivileges )

Parameters: none

Description: Returns a list of keywords, separated by carriage returns, identifying the extended privileges available to the account being used by the current user of the database file. Extended privileges are additional access rights assigned to a privilege set; they control such things as access via the Web, via ODBC/JDBC, and via FileMaker Networking.

If the user's privilege set doesn't have any extended privileges enabled,

Get( ExtendedPrivileges ) returns an empty list.

Examples:

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).

 

 Get (ExtendedPrivileges) 

Returns fmiwp fmapp .

Comments:

To test whether a user has a certain extended privilege, use one of the following formulas:

 

 PatternCount (Get (ExtendedPrivileges) ; "fmiwp") 

If this function returns anything other than 0, then the user has the fmiwp 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 specified privilege.

 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net