system.kanoa.security.getUserAssetRoles
Description
Given a user and a requested function, returns the allowed assets, functions, and roles.Syntax
getUserAssetRoles(paramsDict)- paramsDict (Dictionary) - Dictionary with keys such as userId, function, and assetPathList.
- List of dictionaries (List).
Code Example
# Example Usage:
userAssetRoles = system.kanoa.security.getUserAssetRoles({'userId': 1, 'function': configureSecurity', 'assetPathList' ; ['Kanoa Industries']})