Hi,
Is there any function or a recipe to get all the basic users. Please help
Discussion posts and replies are publicly visible
docs.appian.com/.../fnc_people_user.html
Hi Sairam,
Can you please help how to get all the basic users with the user().
user() function is used to access properties of a user like firstName, lastName, email etc.
Yes Harshit, But I need to get list of all basic users. Could you please help me. Is there any other function to get this.
Hi @pavitra,
You can retrieve the list of all users and then eliminate the users with role of system administrator, If that is what you are looking for.
a!forEach( items: getallusers( 1,-1 ), expression: if(isusersystemadministrator(fv!item),{},fv!item))
You can use the getallusers() function to get users and user() function to manipulate it.
u can use a!groupmember function to filter the user
how can i hepl you
https://docs.appian.com/suite/help/22.4/fnc_people_a_groupmembers.html
a!groupMembers(group: ri!group,memberType: "USER")
and use rule input type as group then u can get users from it
I think the most simple approach is, to create a group and add a membership rule: "Add users whose User Type is not Administrator". Then you can just fetch its members using a!groupMembers().