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
5 replies
Answers
1 answer
Subscribers
5 subscribers
Views
5149 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Reports
137567 - no subject - How can i get all the users with user ty
rickyc633
over 9 years ago
How can i get all the users with user type "System Administrator"?
OriginalPostID-137567
Discussion posts and replies are publicly visible
Parents
+1
Ben Anderson
over 6 years ago
To determine the system admins, 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 safety check.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Reply
+1
Ben Anderson
over 6 years ago
To determine the system admins, 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 safety check.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Children
No Data