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
7504 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
Parents
+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
Reply
+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
Children
No Data