<?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: Logging ArcGIS Pro usage (creatorUT with add-on license vs GISProfessionalStdUT) via Python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/logging-arcgis-pro-usage-creatorut-with-add-on/m-p/1572592#M10995</link>
    <description>&lt;P&gt;Thank you for this suggestion.&amp;nbsp; The dataframe returned only shows entitlements for 'desktopBasicN' which are the add-on licenses for &lt;EM&gt;Creator&lt;/EM&gt; user types.&amp;nbsp; This is the data I can already get using the methodology above.&amp;nbsp; Missing from the dataframe are entries for &lt;EM&gt;GIS Professional Advanced&lt;/EM&gt; and &lt;EM&gt;GIS Professional Standard.&amp;nbsp;&amp;nbsp;&lt;/EM&gt;As far as I can see, this method has the exact same limitation as my original approach.&amp;nbsp; This is on Enterprise v11.1&amp;nbsp; &amp;nbsp;Is this a bug or known limitation or am I doing something wrong?&lt;/P&gt;&lt;P&gt;The complete dataframe returned:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="report dataframe.png" style="width: 998px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122709iA17C3B9F945945FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="report dataframe.png" alt="report dataframe.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The user licenses available:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="license.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122710i60112A2AA9DF500F/image-size/large?v=v2&amp;amp;px=999" role="button" title="license.png" alt="license.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jan 2025 22:04:36 GMT</pubDate>
    <dc:creator>Mike_Quetel</dc:creator>
    <dc:date>2025-01-03T22:04:36Z</dc:date>
    <item>
      <title>Logging ArcGIS Pro usage (creatorUT with add-on license vs GISProfessionalStdUT) via Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/logging-arcgis-pro-usage-creatorut-with-add-on/m-p/1555515#M10849</link>
      <description>&lt;P&gt;When our users were licensing pro as a named user with an add-on license, we could query the portal for users who have that add-on license and access when they last used it, determine if it was checked out, etc.&amp;nbsp; Something like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcgisProLicense = gis.admin.license.get('ArcGIS Pro')
entitlement = arcgisProLicense.user_entitlement(user.username)
if entitlement and 'entitlements' in entitlement:
  hasProLicense = "TRUE"
  if 'lastLogin' in entitlement:
    proTimestamp = entitlement['lastLogin']
    if (proTimestamp &amp;gt; 0):
      proLastUsed = datetime.fromtimestamp(proTimestamp / 1000)
  if 'disconnected' in entitlement:
    if (entitlement['disconnected']):
      proLicenseCheckedOut = "TRUE"
    if 'disconnectedInfo' in entitlement:
      proLicenseCheckOutStartDate = datetime.fromtimestamp(entitlement['disconnectedInfo']['disconnectedSince'] / 1000)
      proLicenseCheckOutEndDate = datetime.fromtimestamp(entitlement['disconnectedInfo']['disconnectedUntil'] / 1000)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the switch to user types like 'GISProfessionalBasicUT' and 'GISProfessionalStdUT', this entitlement is not available from the license.&amp;nbsp; Sure it becomes implicit that the user does have access to a pro license, but how would I access the metadata that is available for Creators with an add-on license.&amp;nbsp; I still want to be able to log when software was last used, etc.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 17:56:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/logging-arcgis-pro-usage-creatorut-with-add-on/m-p/1555515#M10849</guid>
      <dc:creator>Mike_Quetel</dc:creator>
      <dc:date>2024-11-05T17:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Logging ArcGIS Pro usage (creatorUT with add-on license vs GISProfessionalStdUT) via Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/logging-arcgis-pro-usage-creatorut-with-add-on/m-p/1555710#M10854</link>
      <description>&lt;P&gt;Have you tried using the report property on the License:&lt;/P&gt;
&lt;P&gt;`arcgisProLicense.report`&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This returns a panda's dataframe that reports all the entitlements for this license. It has a column called: Users&lt;/P&gt;
&lt;P&gt;You can get information from this column on who has this entitlement and when it was last used.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 08:07:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/logging-arcgis-pro-usage-creatorut-with-add-on/m-p/1555710#M10854</guid>
      <dc:creator>NanaeAubry</dc:creator>
      <dc:date>2024-11-06T08:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Logging ArcGIS Pro usage (creatorUT with add-on license vs GISProfessionalStdUT) via Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/logging-arcgis-pro-usage-creatorut-with-add-on/m-p/1572592#M10995</link>
      <description>&lt;P&gt;Thank you for this suggestion.&amp;nbsp; The dataframe returned only shows entitlements for 'desktopBasicN' which are the add-on licenses for &lt;EM&gt;Creator&lt;/EM&gt; user types.&amp;nbsp; This is the data I can already get using the methodology above.&amp;nbsp; Missing from the dataframe are entries for &lt;EM&gt;GIS Professional Advanced&lt;/EM&gt; and &lt;EM&gt;GIS Professional Standard.&amp;nbsp;&amp;nbsp;&lt;/EM&gt;As far as I can see, this method has the exact same limitation as my original approach.&amp;nbsp; This is on Enterprise v11.1&amp;nbsp; &amp;nbsp;Is this a bug or known limitation or am I doing something wrong?&lt;/P&gt;&lt;P&gt;The complete dataframe returned:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="report dataframe.png" style="width: 998px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122709iA17C3B9F945945FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="report dataframe.png" alt="report dataframe.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The user licenses available:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="license.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122710i60112A2AA9DF500F/image-size/large?v=v2&amp;amp;px=999" role="button" title="license.png" alt="license.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 22:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/logging-arcgis-pro-usage-creatorut-with-add-on/m-p/1572592#M10995</guid>
      <dc:creator>Mike_Quetel</dc:creator>
      <dc:date>2025-01-03T22:04:36Z</dc:date>
    </item>
  </channel>
</rss>

