<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>getting users from groups</title><link>https://community.appian.com/discussions/f/general/14240/getting-users-from-groups</link><description>Hi, 
 
 Is there a way I can get the users and their emails from a group? Just by passing the group, not the group name. 
 
 TIA :)</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: getting users from groups</title><link>https://community.appian.com/thread/64446?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 13:16:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdc5a276-8fd2-4167-91ad-7d0fcddb11fc</guid><dc:creator>amitb0004</dc:creator><description>Hi apoorvam0001,&lt;br /&gt;
If you want to fetch users from some group and get their email,&lt;br /&gt;
used following function to get user list related to specific Group &lt;br /&gt;
&lt;br /&gt;
&amp;quot;getdirectgroupmemberuserspaging(getgroupbyname(&amp;quot;Group_Name&amp;quot;),0,-1)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
but remember, &lt;br /&gt;
if you are using these function you should aware about security of Basic user, because security is not set&lt;br /&gt;
then these function will not work for basic user,&lt;br /&gt;
and already i am using these function in one of my project.&lt;br /&gt;
if not work please convey me...&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting users from groups</title><link>https://community.appian.com/thread/64331?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 11:05:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:65edaff5-a8cf-4478-a77c-9d0ac98d3192</guid><dc:creator>sriranjanir</dc:creator><description>&lt;p&gt;To get the list of users from a group, You can use getdistinctusers or getmemberusersdirectpaging&lt;/p&gt;
&lt;p&gt;Check&amp;nbsp;&lt;a href="https://forum.appian.com/suite/tempo/records/item/lEBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjQmDVAkIm__lAhyaCbv8mcYbyRE-4wU/view/summary"&gt;https://forum.appian.com/suite/tempo/records/item/lEBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjQmDVAkIm__lAhyaCbv8mcYbyRE-4wU/view/summary&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To get the email of those users, you can user fn!user&amp;nbsp;&lt;/p&gt;
&lt;p&gt;user(ri!username,&amp;quot;email&amp;quot;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>