<?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>Is there any way to find users who are only direct members of that group, not ad</title><link>https://community.appian.com/discussions/f/general/7730/is-there-any-way-to-find-users-who-are-only-direct-members-of-that-group-not-ad</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is there any way to find users who are only direct members of that group, not ad</title><link>https://community.appian.com/thread/47815?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2017 12:59:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8afecde9-797c-44f7-b1eb-310920265e3d</guid><dc:creator>baskare</dc:creator><description>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.&lt;br /&gt;
&lt;br /&gt;
contains(&lt;br /&gt;
  touniformstring(&lt;br /&gt;
    fn!getdirectgroupmemberuserspaging(&lt;br /&gt;
      getgroupbyname(ri!groupName),&lt;br /&gt;
      0,&lt;br /&gt;
      - 1&lt;br /&gt;
    )&lt;br /&gt;
  ),&lt;br /&gt;
  ri!userName&lt;br /&gt;
))&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any way to find users who are only direct members of that group, not ad</title><link>https://community.appian.com/thread/31798?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 23:21:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d03b47e7-0092-47e8-9968-3aae6b266020</guid><dc:creator>sikhivahans</dc:creator><description>Just to add, the index issue in this function was discussed sometime ago at &lt;a href="https://forum.appian.com/suite/tempo/entry/e-169542"&gt;forum.appian.com/.../e-169542&lt;/a&gt;.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any way to find users who are only direct members of that group, not ad</title><link>https://community.appian.com/thread/31796?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 23:15:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ce640b9c-dafb-45bd-b0ea-0ad08c96dbf6</guid><dc:creator>brettr</dc:creator><description>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. &lt;br /&gt;&lt;br /&gt;Thanks Jake for finding the index issue!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any way to find users who are only direct members of that group, not ad</title><link>https://community.appian.com/thread/31795?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 23:13:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e91ec35-5458-4371-b8f9-3d8bbaf587f2</guid><dc:creator>jakeg</dc:creator><description>We&amp;#39;ve just discovered that the &amp;quot;Gotcha&amp;quot; is that the start index is 0 based :)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any way to find users who are only direct members of that group, not ad</title><link>https://community.appian.com/thread/31794?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 23:07:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:13b92003-b4e6-4de8-b350-75e5df4d994c</guid><dc:creator>brettr</dc:creator><description>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 &amp;quot;gotchas&amp;quot; for this function?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any way to find users who are only direct members of that group, not ad</title><link>https://community.appian.com/thread/31793?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 23:03:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26e32706-8967-40f3-b6af-8ff4b5bf968e</guid><dc:creator>sagarl511</dc:creator><description>May be you can use plugin - &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjO5E6eO2UZ1tJnDqkswaubvz8gUllGhG/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any way to find users who are only direct members of that group, not ad</title><link>https://community.appian.com/thread/31792?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 23:02:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d63c0367-d455-4545-aa5d-43be175a203e</guid><dc:creator>sikhivahans</dc:creator><description>@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 ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>