<?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 a way to get the logged in user using API? (Any class that provides sup</title><link>https://community.appian.com/discussions/f/general/2841/is-there-a-way-to-get-the-logged-in-user-using-api-any-class-that-provides-sup</link><description>Is there a way to get the logged in user using API? (Any class that provides support to get the logged in user)... OriginalPostID-112708 OriginalPostID-112708</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is there a way to get the logged in user using API? (Any class that provides sup</title><link>https://community.appian.com/thread/9930?ContentTypeID=1</link><pubDate>Wed, 11 Jun 2014 11:27:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c2c66754-a7e7-4be5-96a4-35284db66368</guid><dc:creator>Mahesh Sanga</dc:creator><description>Thanks Eduardo!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get the logged in user using API? (Any class that provides sup</title><link>https://community.appian.com/thread/9929?ContentTypeID=1</link><pubDate>Wed, 11 Jun 2014 09:53:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3b563974-3dc2-4dae-ac34-6644e240f1b0</guid><dc:creator>Eduardo Fuentes</dc:creator><description>As you can see you can build a service context from the HttpServletRequest&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get the logged in user using API? (Any class that provides sup</title><link>https://community.appian.com/thread/9928?ContentTypeID=1</link><pubDate>Wed, 11 Jun 2014 09:52:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:44637e09-e036-4897-b60c-86dfcfd777aa</guid><dc:creator>Eduardo Fuentes</dc:creator><description>@Override&lt;br /&gt;  protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {&lt;br /&gt;    &lt;br /&gt; ServiceContext sc = WebServiceContextFactory.getServiceContext(req);&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get the logged in user using API? (Any class that provides sup</title><link>https://community.appian.com/thread/9921?ContentTypeID=1</link><pubDate>Wed, 11 Jun 2014 04:28:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ab5a5e8-c540-4ad6-b63a-f9517a939fab</guid><dc:creator>Mahesh Sanga</dc:creator><description>In one of my servlet plugin I am using&lt;br /&gt;ServiceContext sc = ServiceContextFactory.getServiceContext(&amp;quot;userName&amp;quot;);&lt;br /&gt;this servlet is invoked from external system. So I want to get the context of the logged in user rather than passing the userName! If this is not the better approach please suggest the best way to get the UserContext ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get the logged in user using API? (Any class that provides sup</title><link>https://community.appian.com/thread/9920?ContentTypeID=1</link><pubDate>Wed, 11 Jun 2014 04:20:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c72d937d-eeac-45a2-9230-154968ec7a3f</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Is there any reason why the out of the box loggedinuser() function can&amp;#39;t be used in this case?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>