Hi,
In UI designer I have a select widget populate by “users” variable.
“users” is a External API.
I want to load all users by role name “director”.
With:
…/API/identity/role?p=0&c=100&f=name=director
I load the role with id 2.
With:
…/API/identity/user?p=0&c=200&f=enabled%3dtrue&o=lastname ASC&f=enabled=true&f=role_id=2
I load all users by role id 2.
“users” = …/API/identity/user?p=0&c=200&f=enabled%3dtrue&o=lastname ASC&f=enabled=true&f=role_id=2
Unfortunately in many development environments, not always the id is 2!
Is there an API that load all users by role name?
Thanks
Manolo