Skip to main content

system.kanoa.security.getTableUsers(userId, userSources)

Takes a user ID and a list of user sources, and returns a dataset of other users, that the user may see


Parameters

userId Integer: Id of user executing the function
userSources List of Strings


Returns

userData pyDataset


Example

userData = system.kanoa.security.getTableUsers(5, ['default'])