Specify the authority key and set the authority value. When determining based on user level, the smaller the number, the higher the user's level will be.
By specifying this in the binding expression for the Enabled property of Button control, you can set restrictions on operations based on permissions.
Binding example)
IN:B.AUTH("monitor")
IN:B.AUTH(10)
The difference between this method and the AUTH root method is that the path string specified with the SetAuthKeyPath form method is automatically prepended to the key parameter specified with this method before it is executed.
|