system.kanoa.security.setGatewayAdmin
Description
Adds or removes the Gateway Admin role from the user.Syntax
setGatewayAdmin(userId, enable)- userId (Integer) - User ID.
- enable (Bool) - Enable or disable the role.
- Error message (String).
Code Example
# Example Usage:
errorMessage = system.kanoa.security.setGatewayAdmin(123, True)