<?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>Inactive User</title><link>https://community.appian.com/discussions/f/general/9803/inactive-user</link><description>Hi All, Is there any function to get all the inactive users in the system? OriginalPostID-264616</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Inactive User</title><link>https://community.appian.com/thread/43242?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2017 10:31:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53c61c9f-5cfb-43b1-8bc7-c66e7526cae5</guid><dc:creator>sikhivahans</dc:creator><description>The &amp;#39;status&amp;#39; property in the OOTB function fn!user() should be enough to check the active/inactive status of the User object.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inactive User</title><link>https://community.appian.com/thread/43226?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2017 23:22:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aa24f589-7579-4f17-9ff9-a025934b1336</guid><dc:creator>gurdeeps</dc:creator><description>Thanks guys, my issue is resolved.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inactive User</title><link>https://community.appian.com/thread/43223?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2017 22:50:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a1723ae6-ee46-4679-ae64-8d5d92f8477d</guid><dc:creator>Harsha Sharma</dc:creator><description>Hi, you can use IsUsernameTaken(). If it helps, I have created an expression rule that checks whether a user exists or not and correspondingly returns the username or null based on the result. Feel free to refer this. &lt;br /&gt;if(&lt;br /&gt;  rule!APN_isBlank(&lt;br /&gt;    ri!user&lt;br /&gt;  ),&lt;br /&gt;  null,&lt;br /&gt;  if(&lt;br /&gt;    IsUsernameTaken(&lt;br /&gt;      ri!user&lt;br /&gt;    ),&lt;br /&gt;      user(&lt;br /&gt;        ri!user,&lt;br /&gt;        &amp;quot;firstName&amp;quot;&lt;br /&gt;      ) &amp;amp; &amp;quot; &amp;quot; &amp;amp; user(&lt;br /&gt;        ri!user,&lt;br /&gt;        &amp;quot;lastName&amp;quot;&lt;br /&gt;      ),&lt;br /&gt;    ri!user&lt;br /&gt;  )&lt;br /&gt;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inactive User</title><link>https://community.appian.com/thread/43222?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2017 22:49:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0ceb8c9e-b578-4822-89a9-d83697e7a7e5</guid><dc:creator>aloks0189</dc:creator><description>@gurdeep did you try using getdeactivatedusersby(......) function, as per the documentation this &amp;quot;Retrieves all the deactivated users matching the given criteria&amp;quot;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>