<?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: Save the edits before disconnecting users form an enterprise geodatabase in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196588#M11240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Alice for your prompt help.&lt;/P&gt;&lt;P&gt;excuse me for my new naif question, I am trying first to get the list of users who are connected to the enterprise geodatabase "Admin" &lt;/P&gt;&lt;P&gt;in my case I have two users ( user1 and user 2 )&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_13.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/71232_Clip_13.jpg" style="width: 620px; height: 302px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I past the code:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN class="n"&gt;userList&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;ListUsers&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s"&gt;"Database Connections/admin.sde"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;nothing happens, what other issues should I consider ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;Ahmad&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 19:45:04 GMT</pubDate>
    <dc:creator>AhmadSALEH1</dc:creator>
    <dc:date>2015-03-09T19:45:04Z</dc:date>
    <item>
      <title>Save the edits before disconnecting users form an enterprise geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196583#M11235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any method that enables the Administrator to save the users edits before disconnecting them for an enterprise geodatabase. Because I am disconnecting users&amp;nbsp; as shown&amp;nbsp; in the screenshot, but&amp;nbsp; if they didn’t save their edits before disconnecting them all edits will be lost.&lt;/P&gt;&lt;P&gt;I am using ArcGIS 10.2.2 , and SQL server 2014&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/legacyfs/online/66165_Clip_8.jpg"&gt;&lt;IMG alt="Clip_8.jpg" class="image-1 jive-image" height="386" src="https://community.esri.com/legacyfs/online/66165_Clip_8.jpg" style="width: 620px; height: 384px;" width="623" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ahmad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 16:31:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196583#M11235</guid>
      <dc:creator>AhmadSALEH1</dc:creator>
      <dc:date>2015-02-27T16:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Save the edits before disconnecting users form an enterprise geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196584#M11236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. there is no such way to automatically notify them or save the edits done till that point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:22:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196584#M11236</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2015-03-09T15:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Save the edits before disconnecting users form an enterprise geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196585#M11237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I kinda use of version of this &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//003n000000v7000000"&gt;python script&lt;/A&gt; to let the people who are connected know when I'm doing any kind of maintenance on our geodatabases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:26:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196585#M11237</guid>
      <dc:creator>AlicePence</dc:creator>
      <dc:date>2015-03-09T15:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Save the edits before disconnecting users form an enterprise geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196586#M11238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Alice, but where should I past this code since I have no experience&amp;nbsp; in scripting using python, and how could I create&amp;nbsp; user lists and there emails ? I will be very thankful if you provide me with screenshots&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ahmad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:43:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196586#M11238</guid>
      <dc:creator>AhmadSALEH1</dc:creator>
      <dc:date>2015-03-09T15:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Save the edits before disconnecting users form an enterprise geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196587#M11239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within ArcCatalog or ArcMap there is a Python tool found here:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="71123" alt="py1.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/71123_py1.png" style="width: 620px; height: 34px;" /&gt;&lt;/P&gt;&lt;P&gt;Then all i do is copy the code from the link I gave above into the python box:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="c" style="color: #008000;"&gt;# get a list of connected users.&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;userList&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;ListUsers&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s" style="color: #a31515;"&gt;"Database Connections/admin.sde"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;&lt;/CODE&gt;
&lt;SPAN class="p"&gt;&lt;CODE&gt;&lt;SPAN class="c" style="color: #008000;"&gt;# get a list of usernames from the list of named tuples returned from ListUsers&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;userNames&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="p"&gt;[&lt;/SPAN&gt;&lt;SPAN class="n"&gt;u&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;Name&lt;/SPAN&gt; &lt;SPAN class="k" style="color: #0000ff;"&gt;for&lt;/SPAN&gt; &lt;SPAN class="n"&gt;u&lt;/SPAN&gt; &lt;SPAN class="ow" style="color: #0000ff;"&gt;in&lt;/SPAN&gt; &lt;SPAN class="n"&gt;userList&lt;/SPAN&gt;&lt;SPAN class="p"&gt;]&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And we don't have very many people on our databases so from here I can usually just write a quick email to the few that are on. I just keep a draft of the generic email I send out, so i can pull it up and send it real quick and not have to retype it every time. The draft email pretty much looks like the one in the link -short and simple: &lt;CODE&gt;&lt;SPAN class="s" style="color: #a31515;"&gt;&lt;/SPAN&gt;&lt;SPAN class="s" style="color: #a31515;"&gt;Server maintenance will be performed in 15 minutes. Please log off&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s" style="color: #303030;"&gt;And if they don't log off by the time I give them, then they will lose their edits.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:49:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196587#M11239</guid>
      <dc:creator>AlicePence</dc:creator>
      <dc:date>2021-12-11T09:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Save the edits before disconnecting users form an enterprise geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196588#M11240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Alice for your prompt help.&lt;/P&gt;&lt;P&gt;excuse me for my new naif question, I am trying first to get the list of users who are connected to the enterprise geodatabase "Admin" &lt;/P&gt;&lt;P&gt;in my case I have two users ( user1 and user 2 )&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_13.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/71232_Clip_13.jpg" style="width: 620px; height: 302px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I past the code:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN class="n"&gt;userList&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;ListUsers&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s"&gt;"Database Connections/admin.sde"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;nothing happens, what other issues should I consider ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;Ahmad&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 19:45:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/save-the-edits-before-disconnecting-users-form-an/m-p/196588#M11240</guid>
      <dc:creator>AhmadSALEH1</dc:creator>
      <dc:date>2015-03-09T19:45:04Z</dc:date>
    </item>
  </channel>
</rss>

