system.kanoa.security.getUsers(paramsDict)
Returns users filtered by the passed parameters. paramsDict keys are optional.
Parameters
paramsDict Dictionary
| - assetId | int | Id of asset to check functionName against. Only required when functionName is passed |
| - functionName | String | When passed with assetId, filters to users who have this function on that asset (or an ancestor of it), plus all gateway admins |
| - idpUserId | Integer | userId coming from the ignition authentication session properties |
| - userId | Integer | |
| - userName | String |
Returns
userData pyDataset
Example
userData = system.kanoa.security.getUsers({'userName': 'johndoe'})