<?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>How do I extract all user and the user group each user belong to?</title><link>https://community.appian.com/discussions/f/general/17563/how-do-i-extract-all-user-and-the-user-group-each-user-belong-to</link><description>If you don&amp;#39;t mind, does any one know a quickest way to extract in excel of all the users that are setup in Appian and the groups that each user belong to?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How do I extract all user and the user group each user belong to?</title><link>https://community.appian.com/thread/69204?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2019 19:12:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f285de0e-190d-4205-a9e3-41c7745c975b</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;We do this with a few plugins, &lt;a href="/b/appmarket/posts/people-functions---plug-in" rel="noopener noreferrer" target="_blank"&gt;People Functions &lt;/a&gt;and &lt;a href="/b/appmarket/posts/excel-tools" rel="noopener noreferrer" target="_blank"&gt;Excel Tools&lt;/a&gt;.&amp;nbsp; People Functions contains a getallusers() function, you can run this with a -1 batch size to return all users, NOTE this is a performance issue in larger environments.&amp;nbsp; From there, you can apply your list of users over the getgroupsformemberuser() function to obtain their groups.&amp;nbsp; I would recommend adding this information to a CDT and writing it to a database table - the newer version of Excel Tools no longer contains a direct Export CDT to Excel service, so we would persist to the DB and use the Export SQL to Excel to return the information in Excel format.&amp;nbsp; Once in the DB, it will be straightforward to create an admin&amp;nbsp;report for exposing this information on screen as well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>