<?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: Using arcpy to 'borrow' a licence - is this possible in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/using-arcpy-to-borrow-a-licence-is-this-possible/m-p/205090#M15795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't believe this is exposed for access through arcpy. You may have some luck using arcobjects. I'd trying contacting your Esri rep for advice on this, licensing can be finicky.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2013 21:31:00 GMT</pubDate>
    <dc:creator>MathewCoyle</dc:creator>
    <dc:date>2013-10-21T21:31:00Z</dc:date>
    <item>
      <title>Using arcpy to 'borrow' a licence - is this possible</title>
      <link>https://community.esri.com/t5/python-questions/using-arcpy-to-borrow-a-licence-is-this-possible/m-p/205089#M15794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A theoretical question at this point,&amp;nbsp; but one I may implement if I can work out a way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a custom MXD that is used by non-technical people in the field - basically their only input is to sketch lines on a tablet screen with a stylus.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have an enterprise licence agreement, and have configured our licence server to allow checking out / borrowing of licences for offline use for a period of time (10 days I think).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am wondering, is it possible to script a solution in Python, that would&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# check if it is running on a borrowed (offline) or network licence&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# if on a borrowed licence, check the expiry date&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# if there are less than &lt;X&gt; days to run, return the licence and then re-borrow (basically to reset the clock).&lt;/X&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I can get this rolling, I pretty much have a set and forget solution, as I have already scripted a solution to check for network connection and then to sync data with a gdb available on network share. Ideally I could have one script that would automatically execute on machine startup, user then just opens the project and hits the road.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 09:17:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-arcpy-to-borrow-a-licence-is-this-possible/m-p/205089#M15794</guid>
      <dc:creator>AnthonyCheesman1</dc:creator>
      <dc:date>2013-10-21T09:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy to 'borrow' a licence - is this possible</title>
      <link>https://community.esri.com/t5/python-questions/using-arcpy-to-borrow-a-licence-is-this-possible/m-p/205090#M15795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't believe this is exposed for access through arcpy. You may have some luck using arcobjects. I'd trying contacting your Esri rep for advice on this, licensing can be finicky.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 21:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-arcpy-to-borrow-a-licence-is-this-possible/m-p/205090#M15795</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2013-10-21T21:31:00Z</dc:date>
    </item>
  </channel>
</rss>

