Skip to main content

system.kanoa.security.getUsers(paramsDict)

Returns users filtered by the passed parameters


Parameters

paramsDict Dictionary

- assetIdStringasset to check functionName against, required alongside functionName
- functionNameStringwhen passed with assetId, filters to users who have this function on that asset (or an ancestor of it), plus all gateway admins
- idpUserIdIntegeruserId coming from the ignition authentication session properties
- userIdInteger
- userNameString

Returns

userData pyDataset


Example

userData = system.kanoa.security.getUsers({'userName': 'johndoe'})