<?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: Layer file of SDE connection via OS Authentication  in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/layer-file-of-sde-connection-via-os-authentication/m-p/431351#M959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Esri doesn't document that information, although I suspect you are correct it is getting it from the database because Layer.serviceProperties returns no information on user when an EGDB connection is broken.&amp;nbsp; If the application was pulling the information from local client/process, it would show user information even if the EGDB connection is broken.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jul 2020 16:18:06 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2020-07-13T16:18:06Z</dc:date>
    <item>
      <title>Layer file of SDE connection via OS Authentication</title>
      <link>https://community.esri.com/t5/arcmap-questions/layer-file-of-sde-connection-via-os-authentication/m-p/431348#M956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm wondering how layer files representing features within a multiuser database can be shared with OS authentication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is that a 'filepath' to the feature is a reference to the specific sde connection on my computer, followed by \MyFeature 1 etc. which makes sense to control the authentication and version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would a layer file be constructed so that various users can use the same layer file but with a prompt for OS Auth (as they would have different DBMS roles assigned to them)?&lt;/P&gt;&lt;P&gt;Is it just a case of copying the .sde connection file to a network location then wrangling the paths through it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no versions other than DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reading.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jul 2020 09:24:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/layer-file-of-sde-connection-via-os-authentication/m-p/431348#M956</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-07-11T09:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Layer file of SDE connection via OS Authentication</title>
      <link>https://community.esri.com/t5/arcmap-questions/layer-file-of-sde-connection-via-os-authentication/m-p/431349#M957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OS Authentication doesn't have a prompt, it uses the credentials of the process reading the connection information and connecting to the EGDB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How connection information in SDE files is handled changed around 10.2.&amp;nbsp; Today, the connection information is embedded in a layer, and hence layer file.&amp;nbsp; Layer.workspacePath contains a reference to the SDE file last used to set a layer's data source, but that SDE file isn't used to make the connection after set.&amp;nbsp; Layer.serviceProperties contains the embedded connection information that is used to make the connection. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2020 14:57:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/layer-file-of-sde-connection-via-os-authentication/m-p/431349#M957</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-07-12T14:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Layer file of SDE connection via OS Authentication</title>
      <link>https://community.esri.com/t5/arcmap-questions/layer-file-of-sde-connection-via-os-authentication/m-p/431350#M958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joshua,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On checking the serviceProperties, is the UserName derived from os.getusername or whatever rather than hardcoded?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2020 17:21:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/layer-file-of-sde-connection-via-os-authentication/m-p/431350#M958</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-07-12T17:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Layer file of SDE connection via OS Authentication</title>
      <link>https://community.esri.com/t5/arcmap-questions/layer-file-of-sde-connection-via-os-authentication/m-p/431351#M959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Esri doesn't document that information, although I suspect you are correct it is getting it from the database because Layer.serviceProperties returns no information on user when an EGDB connection is broken.&amp;nbsp; If the application was pulling the information from local client/process, it would show user information even if the EGDB connection is broken.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2020 16:18:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/layer-file-of-sde-connection-via-os-authentication/m-p/431351#M959</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-07-13T16:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Layer file of SDE connection via OS Authentication</title>
      <link>https://community.esri.com/t5/arcmap-questions/layer-file-of-sde-connection-via-os-authentication/m-p/431352#M960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joshua, I guess the best way is to test it with some colleagues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2020 16:26:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/layer-file-of-sde-connection-via-os-authentication/m-p/431352#M960</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-07-13T16:26:10Z</dc:date>
    </item>
  </channel>
</rss>

