Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+1
person also asked this
people also asked this
Replies
8 replies
Answers
1 answer
Subscribers
9 subscribers
Views
7503 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I am trying to find a way to list all the users setup as system administrator an
ajays
over 9 years ago
I am trying to find a way to list all the users setup as system administrator and I am an Appian Admin. Do you have any suggestions?
OriginalPostID-152312
OriginalPostID-152312
Discussion posts and replies are publicly visible
0
Alok Mohare
Appian Employee
over 9 years ago
You can create a Group and add a Custom Rule to the Group to include all Members whose User Type = Administrator.
Hope that helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ajays
over 9 years ago
How can I add a custom rule to a group?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Alok Mohare
Appian Employee
over 9 years ago
forum.appian.com/.../Group_Management.html
(View or Edit Group Membership Rules)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ajays
over 9 years ago
perfect. Thank you
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
@ajays If I understand your question correctly, implementing the isusersystemadministrator (present in plugin at https://forum.appian.com/suite/tempo/records/type/components/item/i0BWsQdLlzKy55h8z8zJ0sPqpDWFrba9l14mbyubY4XI6t1hRI7xLwkvHhqsuQ/view/summary) with the combination of looping function is a handy solution (and other way as well) to some extent and following is the way how we can use:
filter(fn!isusersystemadministrator(_),getdistinctusers(topeople(
))) => returns System Administrators
reject(fn!isusersystemadministrator(_),getdistinctusers(topeople(
))) => returns Basic Users
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ajays
over 9 years ago
Thank you
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
harrisont606
over 7 years ago
in reply to
sikhivahans
This is very useful!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
+1
Ben Anderson
over 6 years ago
To find all system administrators, you can run the following expression:
=load(
local!designerUsers: getdistinctusers(getgroupbyname("Designers")),
local!adminUsers: apply(fn!isusersystemadministrator,local!designerUsers),
index(local!designerUsers,where(local!adminUsers),{})
)
The default Designers group contains all system admins by rule, but non-admin users can be added to the group so the second step is needed as a safeguard.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel