Skip to main content

system.kanoa.security.getUserAssetRoles(paramsDict)

Returns the assets, functions and roles for a user


Parameters

paramsDict Dictionary

- assetPathListList of Stringsi.e ["Kanoa Industries", "Kanoa Box Co"]
- functionNameStringi.e. 'configAssets'
- roleEnabledBoolean
- roleIdInteger
- userIdInteger

Returns

userassetRoles List of Dictionaries


Example

paramsDict = {'userId': 1}
userAssetRoles = system.kanoa.security.getUserAssetRoles(paramsDict)