Skip to main content

system.kanoa.security.updateRoleFunctions(roleFunctionInfo, userId)

Updates a role function link


Parameters

roleFunctionInfo Dictionary

- enabledBoolean
- functionIdInteger
- roleIdInteger

userId Integer: Id of user executing the function


Returns

retVal Integer # of records modified
msg String None if success


Example

system.kanoa.security.updateRoleFunctions({'roleId': 1, 'functionId': 7, 'enabled': True}, 123)