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
7 replies
Answers
1 answer
Subscribers
9 subscribers
Views
7118 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Is there any way to find users who are only direct members of that group, not ad
jakeg
over 8 years ago
Is there any way to find users who are only direct members of that group, not added from a child group?
OriginalPostID-215358
OriginalPostID-215358
Discussion posts and replies are publicly visible
0
sikhivahans
over 8 years ago
@jakeg Hi, have you had a look at fn!getDirectGroupMemberUsersPaging() present in the 'Group Functions' Shared Component at https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjO5E6eO2UZ1tJnDqkswaubvz8gUllGhG/view/summary ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sagarl511
A Score Level 2
over 8 years ago
May be you can use plugin -
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
brettr
over 8 years ago
Thank you for the replies. I am working with Jake on this one. We have tried to use this function, but it is not returning any results. I read that it did not include admins, so we have checked that as well. Are there any other "gotchas" for this function?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
+1
jakeg
over 8 years ago
We've just discovered that the "Gotcha" is that the start index is 0 based :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
0
brettr
over 8 years ago
And to also add a note for anyone searching this, it DOES return direct users even if they are group administrators. I had previously read on forum that it will not return those users, but it seems to work okay.
Thanks Jake for finding the index issue!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
Just to add, the index issue in this function was discussed sometime ago at
forum.appian.com/.../e-169542
.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
baskare
over 7 years ago
in reply to
sikhivahans
As suggested , I am using fn!getDirectGroupMemberUsersPaging() to get the direct members . But in my case I have around 80K users available in a group . If I try to use this function to check a users direct membership It takes more time to retrieve the result as the number of users is huge in numbers. Also I have more group for which i have to run this function to check whether the user is a direct member. Did anyone have faced similar issue and came up with any alternates.
contains(
touniformstring(
fn!getdirectgroupmemberuserspaging(
getgroupbyname(ri!groupName),
0,
- 1
)
),
ri!userName
))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel