When working on a FileMaker solution, there are many situations where debugging information or feedback is required as part of the development process. This type of information is not suitable for display within the realm of normal application use.
Therefore, it is suggested that various portions of your solution utilize a Developer custom function. At its core, the function can be as simple as Get ( AccountPrivilegeSetName ) = "[Full Access]" and named according to the Custom function naming standards.
However, there may be environments where certain accounts are given access to this type of information. In such an event, watching for specific accounts may be desired. The following custom function will provide for this situation.
Lastest version of this function
Function parameter was changed in FileMaker 11
The Get ( PrivilegeSetName ) was changed to Get ( AccountPrivilegeSetName ) in FileMaker 11 and higher. This requires the use of an Evaluate() function for proper evaluation.
An example of this, within a script, would look like the following
Note the use of the Debug custom function