system.kanoa.security.updateUserAssetRoles
Description
Updates the specific asset roles of the userSyntax
updateUserAssetRoles(paramsDict)- paramsDict: (Dictionary) i.e. {'userId': 18, 'userAssetRole': 3, 'assetId': 16, 'roleId': 1}
- none
Code Examples
system.kanoa.security.updateUserAssetRoles({'userId': 18, 'userAssetRole': 3, 'assetId': 16, 'roleId': 1})