Hi @all,
Is there an easy way to separate out users and groups from a Main Group in an expression rule.
Below are the users and groups coming from a group itself. I want to separate out users from this list and wants to store it.
Looking forward for your support, Thank you in advance!
Discussion posts and replies are publicly visible
I think you can convert them into a string and then use the isusernametaken() function. If it returns true, then it is a user else it is a group.
Yes, a!groupMembers() can return only the list of direct, user type members in a group such as:
a!groupMembers( group: cons!YOUR_GROUP_CONSTANT, direct: true, memberType: "USER" )
Thanks @Harshit
Thank you @Chris