system.kanoa.security.getUserAssetRoles(paramsDict)
Returns the assets, functions and roles for a user
Parameters
paramsDict Dictionary
| - assetPathList | List of Strings | i.e ["Kanoa Industries", "Kanoa Box Co"] |
| - functionName | String | i.e. 'configAssets' |
| - roleEnabled | Boolean | |
| - roleId | Integer | |
| - userId | Integer |
Returns
userassetRoles List of Dictionaries
Example
paramsDict = {'userId': 1}
userAssetRoles = system.kanoa.security.getUserAssetRoles(paramsDict)