<?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 Layer Initialization based on Server Roles in ArcGIS Viewer for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/layer-initialization-based-on-server-roles/m-p/104633#M325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application where 2 groups of people need to access the same data, but edit different subsets of it.&amp;nbsp; For instance, Group A can edit Layer 1 and 2, but Group B can only edit Layer 3.&amp;nbsp; However, both groups need to be able to read all 3 Layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Editing is done through an EditorWidget, but the list of editable layers is determined by the usergoups.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before migrating to Server 10.2, we checked usernames against a custom usergroup on our Web Server and built the editable list off of that, but in our 10.2 Server is going to be on a different server, so this will not really be an option for us.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I determine which group is currently accessing my application so that I can determine which layers are editable?&amp;nbsp; I'm assuming it has something to do with the FeatureLayer_Initialized event.&amp;nbsp; Right now, I've created both Roles on the Server and assigned both of the to the service.&amp;nbsp; I need to be able to determine which of the Roles allowed the Layer to Initialize.&amp;nbsp; If I can determine that, I can build my editable layer list from there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2014 21:15:09 GMT</pubDate>
    <dc:creator>WilliamKimrey</dc:creator>
    <dc:date>2014-03-12T21:15:09Z</dc:date>
    <item>
      <title>Layer Initialization based on Server Roles</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/layer-initialization-based-on-server-roles/m-p/104633#M325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application where 2 groups of people need to access the same data, but edit different subsets of it.&amp;nbsp; For instance, Group A can edit Layer 1 and 2, but Group B can only edit Layer 3.&amp;nbsp; However, both groups need to be able to read all 3 Layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Editing is done through an EditorWidget, but the list of editable layers is determined by the usergoups.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before migrating to Server 10.2, we checked usernames against a custom usergroup on our Web Server and built the editable list off of that, but in our 10.2 Server is going to be on a different server, so this will not really be an option for us.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I determine which group is currently accessing my application so that I can determine which layers are editable?&amp;nbsp; I'm assuming it has something to do with the FeatureLayer_Initialized event.&amp;nbsp; Right now, I've created both Roles on the Server and assigned both of the to the service.&amp;nbsp; I need to be able to determine which of the Roles allowed the Layer to Initialize.&amp;nbsp; If I can determine that, I can build my editable layer list from there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 21:15:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/layer-initialization-based-on-server-roles/m-p/104633#M325</guid>
      <dc:creator>WilliamKimrey</dc:creator>
      <dc:date>2014-03-12T21:15:09Z</dc:date>
    </item>
  </channel>
</rss>

