Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Limits a function.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Plugin | 5.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
name | A function name like RemoteControl.ClickMouse. | "RemoteControl.ClickMouse" | |
privilegeSets | List of privilege set names. | Optional | |
AccountNames | List of account names. | "admin" | Optional |
ScriptNames | List of script names. Each entry contains the name fo the file followed with ":" and the script name. | "MyFile.fmp12:TestScript" | Optional |
Returns OK or error.
Limit a function to be called only from a certain script:
MBS("Plugin.LimitFunction"; "Version"; ""; ""; "test.fmp12:test")
Limit a function to be called only from a certain account name:
MBS("Plugin.LimitFunction"; "Text.WriteTextFile"; "Backup"; ""; "")
This function is free to use.
Created 20th October 2015, last changed 21st October 2017