<?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 arcpy.DisconnectUser() is not disconnecting in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-disconnectuser-is-not-disconnecting/m-p/181007#M13917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the arcpy.ListUsers() tool to list current schema locks.&amp;nbsp; I then tried to use the arcpy.DisconnectUser() tool with the lock ID value and the SDE schema connection.&amp;nbsp;&amp;nbsp; When I run the command, there is no error but when I run the arcpyListUsers() again, the schema lock still exists.&amp;nbsp; I am trying to find out why the command ran with no error but the schema lock remained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am connecting to an Oracle 11g database with an Esri 10.2 geodatabase (SDE schema).&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks - Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2020 17:53:04 GMT</pubDate>
    <dc:creator>PeterLen</dc:creator>
    <dc:date>2020-08-10T17:53:04Z</dc:date>
    <item>
      <title>arcpy.DisconnectUser() is not disconnecting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-disconnectuser-is-not-disconnecting/m-p/181007#M13917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the arcpy.ListUsers() tool to list current schema locks.&amp;nbsp; I then tried to use the arcpy.DisconnectUser() tool with the lock ID value and the SDE schema connection.&amp;nbsp;&amp;nbsp; When I run the command, there is no error but when I run the arcpyListUsers() again, the schema lock still exists.&amp;nbsp; I am trying to find out why the command ran with no error but the schema lock remained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am connecting to an Oracle 11g database with an Esri 10.2 geodatabase (SDE schema).&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks - Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2020 17:53:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-disconnectuser-is-not-disconnecting/m-p/181007#M13917</guid>
      <dc:creator>PeterLen</dc:creator>
      <dc:date>2020-08-10T17:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.DisconnectUser() is not disconnecting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-disconnectuser-is-not-disconnecting/m-p/181008#M13918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved.&amp;nbsp; My python script was reading in the id to use and because it was a string, it didn't work, even though there was not an error.&amp;nbsp; Once I converted it to an int, the lock was removed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 21:31:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-disconnectuser-is-not-disconnecting/m-p/181008#M13918</guid>
      <dc:creator>PeterLen</dc:creator>
      <dc:date>2020-08-11T21:31:16Z</dc:date>
    </item>
  </channel>
</rss>

