system.kanoa.security.getUsers(paramsDict)
Returns users filtered by the passed parameters
Parameters
paramsDict Dictionary
| - assetId | String | asset to check functionName against, required alongside functionName |
| - 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'})