<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Find the current logged in user via python script in Security</title>
    <link>https://community.splunk.com/t5/Security/Find-the-current-logged-in-user-via-python-script/m-p/146111#M4487</link>
    <description>&lt;P&gt;Following &lt;A href="http://answers.splunk.com/answers/28633/current-user-in-search"&gt;answer&lt;/A&gt; has the custom python script to get the current user name. Hope this helps.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2013 18:16:36 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2013-11-18T18:16:36Z</dc:date>
    <item>
      <title>Find the current logged in user via python script</title>
      <link>https://community.splunk.com/t5/Security/Find-the-current-logged-in-user-via-python-script/m-p/146110#M4486</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have the following requirement:&lt;/P&gt;

&lt;P&gt;I have three users with the same permissions. Each user has been provided permission only to access his own created Index.&lt;/P&gt;

&lt;P&gt;For Example:&lt;/P&gt;

&lt;P&gt;User 1 --&amp;gt; Index 1&lt;/P&gt;

&lt;P&gt;User 2 --&amp;gt; Index 2&lt;/P&gt;

&lt;P&gt;User 3 --&amp;gt; Index 3&lt;/P&gt;

&lt;P&gt;I have a dashboard created which has some search queries which is common for all the logged in users.&lt;/P&gt;

&lt;P&gt;When user1 schedules a dashboard report , the "sendemail.py" script gets triggered generating the PDF.&lt;/P&gt;

&lt;P&gt;I need to append the user name on which user  has scheduled to run the report, to the file name of the pdf which gets generated.&lt;/P&gt;

&lt;P&gt;I know that authorize.conf is a file which stores all the user's details on providing which user has access to which indexes and other details.&lt;/P&gt;

&lt;P&gt;I need the user who has scheduled the report so that , if i know the user name i can access authorize.conf file and get other details also about that user.&lt;/P&gt;

&lt;P&gt;Please help me on how i can achieve the same.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2013 12:40:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Find-the-current-logged-in-user-via-python-script/m-p/146110#M4486</guid>
      <dc:creator>ppurokit</dc:creator>
      <dc:date>2013-11-18T12:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Find the current logged in user via python script</title>
      <link>https://community.splunk.com/t5/Security/Find-the-current-logged-in-user-via-python-script/m-p/146111#M4487</link>
      <description>&lt;P&gt;Following &lt;A href="http://answers.splunk.com/answers/28633/current-user-in-search"&gt;answer&lt;/A&gt; has the custom python script to get the current user name. Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2013 18:16:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Find-the-current-logged-in-user-via-python-script/m-p/146111#M4487</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-18T18:16:36Z</dc:date>
    </item>
  </channel>
</rss>

