<?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: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113406#M8888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the solution - solves my problem and lets me track who actually run the GP tool!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 May 2020 10:30:23 GMT</pubDate>
    <dc:creator>helgesmebye</dc:creator>
    <dc:date>2020-05-24T10:30:23Z</dc:date>
    <item>
      <title>Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113388#M8870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wanting to publish a python script as a geoprocessing service (a secured service). Is there any way for arcpy to get the name of the arcgis server user who calls the gp task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. I log in and run the GP tool from the rest url, the script grabs my login name and the current datetime and adds it to a log table. We then end up with a log table of all users and times the script was run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 20:17:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113388#M8870</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-10-11T20:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113389#M8871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you want something like editor tracking, but for a GP service. &amp;nbsp;I don't think that there's anything within the framework to support that. &amp;nbsp;My only thought is to add a parameter so the user can select their username. &amp;nbsp;Since you'll have a defined list of users within your ArcGIS Server security, you could create a dropdown list of the user names, but you're relying on the user to select the correct one. &amp;nbsp;You can probably&amp;nbsp;do this with an &lt;A href="http://server.arcgis.com/en/server/latest/publish-services/windows/about-extending-services.htm"&gt;SOI.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 21:24:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113389#M8871</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2016-10-11T21:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113390#M8872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Jonathan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't been able to find anything yet within the framework. Seems a little strange that the script is unaware of who is running it.&lt;/P&gt;&lt;P&gt;Relying on the user to input who they are in probably not a realistic option unfortunately.&lt;/P&gt;&lt;P&gt;Unless anyone else has any thoughts then I guess the only option is an SOI as you suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 22:05:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113390#M8872</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-10-11T22:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113391#M8873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think when you switch the default log messages level settings from "Warning" to "Verbose", you can capture detailed instance of the GP or even map service being consumed by a user. Just a thought.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 20:27:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113391#M8873</guid>
      <dc:creator>ChrisPedrezuela</dc:creator>
      <dc:date>2018-02-20T20:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113392#M8874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean it is possible to decipher from the verbose log files who the user is? That is only really useful for debugging. I was wanting the GP service script itself to save a log of the users who ran it.&lt;/P&gt;&lt;P&gt;Even if running in verbose mode could somehow allow the script to detect the user, obviously you couldn't run the GP service permanently in verbose mode...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the comment though on an old post! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 20:33:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113392#M8874</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-02-20T20:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113393#M8875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;all good. just happened to see your post since I am researching on how ArcGIS server picks up usernames. from your original post you did mention it will be a secured service so im guessing you will have a portal built-in user group or AD group to share the GP service with so basically you already have a list of users. but if its a lot of users in that group then that's a bit of a task to identify who uses it most. like the other suggestion, you could just simply make it a "required" parameter on your script for it to execute and store that parameter in a table on your sde or fgdb. You can even go further and auto fill that parameter by somehow hooking up to the AD user table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 20:43:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113393#M8875</guid>
      <dc:creator>ChrisPedrezuela</dc:creator>
      <dc:date>2018-02-20T20:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113394#M8876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've never tried but what if you just put &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;A href="https://docs.python.org/2/library/os.html#os.getenv"&gt;os.getenv('username')&lt;/A&gt;&lt;/SPAN&gt;&amp;nbsp;in your GP service script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 20:49:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113394#M8876</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2018-02-20T20:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113395#M8877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;since the script will run on the AGS box, wouldn't this function just pick up the current login credential which will be the ags service account?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 20:54:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113395#M8877</guid>
      <dc:creator>ChrisPedrezuela</dc:creator>
      <dc:date>2018-02-20T20:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113396#M8878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct me if I'm wrong, but even making it a 'required' parameter doesn't guarantee who is using it. A user hitting the endpoint directly could pass in someone else's username as the parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 20:55:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113396#M8878</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-02-20T20:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113397#M8879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;true, those will be the caveat of using it as a required parameter. Unless the suggestion you made to use os.getusername would allow the GP service running on the AGS box to somehow run a python process on the user's own machine. I reckon if you want to do it like that, you might have to include a javascript based function to query the users browser if its using SSO. Just a thought, but its getting a bit complex I think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 21:04:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113397#M8879</guid>
      <dc:creator>ChrisPedrezuela</dc:creator>
      <dc:date>2018-02-20T21:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113398#M8880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep - overly complex!&amp;nbsp; &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't seem like it's possible currently, but in theory shouldn't be too difficult for ESRI to implement. I might put it in as an Idea at some point....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 21:13:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113398#M8880</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-02-20T21:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113399#M8881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you ever get an answer for this? I did exactly this for a map service using an SOI (java), but unfortunately you cannot write SOE/SOI's for geoprocessing services (which I am trying to figure a work around for now).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 20:35:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113399#M8881</guid>
      <dc:creator>ArjunDongre</dc:creator>
      <dc:date>2018-06-22T20:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113400#M8882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never found a way to get the username, so have assumed the answer is that no, it is not possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jun 2018 20:29:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113400#M8882</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-06-24T20:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113401#M8883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems as though you can&amp;nbsp;achieve this by causing the GP tool to create a record in an editor-tracked table.&amp;nbsp; At least, that is what I've observed with a secured GP service + web appbuilder + EGDB.&amp;nbsp; Is there a reason why that's not practical in this case?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2018 14:06:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113401#M8883</guid>
      <dc:creator>DanCronin</dc:creator>
      <dc:date>2018-11-19T14:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113402#M8884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mention "...&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;by causing the GP tool to create a record in an editor-tracked table". The original question was about how a GP tool would know who the user is. Creating a record is easy of course, but no one yet has mentioned a way that the GP tool would actually know the identity/username of the user who triggered the GP service. If you know of a way, please share!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;-Paul&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2018 20:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113402#M8884</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-11-19T20:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113403#M8885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hi. Few years ago I solved it by decripting token send by the GP Service. I prepared&amp;nbsp;DecryptArcGISToken.exe console app that was called from inside a&amp;nbsp;Python script. It uses&amp;nbsp;ESRI.ArcGIS.TokenService.dll&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Maybe there is something for Portal too, asuming majority of apps uses Portal authentication.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 19:43:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113403#M8885</guid>
      <dc:creator>JakubOrálek</dc:creator>
      <dc:date>2019-06-10T19:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113404#M8886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to pull the user name out of the jobinfo.json file that is created when a GP tool runs. This file ends up in the Jobs directory where the results of GP tools end up. Such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:\arcgisserver\directories\arcgisjobs\&amp;lt;folder name&amp;gt;\&amp;lt;service&amp;gt;_gpserver\&amp;lt;job id&amp;gt;\jobinfo.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The jobinfo.json file has the user and the machine that ran the service. A new directory with GP results gets created when the code runs. I snag the path and job id by using&amp;nbsp;arcpy.env.scratchFolder. Then I read the jobsinfo.json file to grab the user and write it to a log.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 16:07:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113404#M8886</guid>
      <dc:creator>MarcusRomboy2</dc:creator>
      <dc:date>2019-08-28T16:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113405#M8887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This doesn't work for me. I am in 10.5 what version are you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2020 11:19:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113405#M8887</guid>
      <dc:creator>GiacomoFavaron</dc:creator>
      <dc:date>2020-01-24T11:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113406#M8888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the solution - solves my problem and lets me track who actually run the GP tool!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2020 10:30:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/113406#M8888</guid>
      <dc:creator>helgesmebye</dc:creator>
      <dc:date>2020-05-24T10:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to get the username of user logged into Arcgis Server via the web for a GP service using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/1078618#M61731</link>
      <description>&lt;P&gt;Might be different, because the config-file seems to be only available with asynchronous GP-services.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 11:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-any-way-to-get-the-username-of-user/m-p/1078618#M61731</guid>
      <dc:creator>FlorianSteiner</dc:creator>
      <dc:date>2021-07-14T11:51:46Z</dc:date>
    </item>
  </channel>
</rss>

