Skip to main content

system.kanoa.security.deleteRole(roleId, userId)

Deletes a user role


Parameters

roleId Integer
userId Integer: Id of user executing the function


Returns

# of records modified Integer
message String None if success


Example

userId = 123
retVal, msg = system.kanoa.security.deleteRole(1, 123)