<?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 Multiple profiles in Section Access in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-profiles-in-Section-Access/m-p/251353#M1207042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrea,&lt;/P&gt;&lt;P&gt;You can load your section access statement from the same data source as the rest of the data is coming from. I suspect you could therefore fashion a select statement that returned a row for each value that Mario could see?&lt;/P&gt;&lt;P&gt;For SQL Server it would be something a bit like:&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt; 'Mario Rossi' as USERNAME,&lt;BR /&gt; AUART&lt;BR /&gt;FROM SourceTable&lt;BR /&gt;WHERE&lt;BR /&gt; AUART = 'ZS2'&lt;BR /&gt; OR AUART LIKE 'ZW%'&lt;BR /&gt; OR AUART BETWEEN '0' AND 'ZOF'&lt;BR /&gt; OR AUART BETWEEN 'ZOH' AND 'ZZZZ'&lt;/P&gt;&lt;P&gt;UNION ALL&lt;BR /&gt;&lt;BR /&gt;SELECT&lt;BR /&gt; 'Someone Else' as USERNAME ,&lt;BR /&gt;.....&lt;/P&gt;&lt;P&gt;The most tidy way of doing this would probably be to build the logic for the security into a view, so a more simple select statement would appear in your load script.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Apr 2010 10:50:59 GMT</pubDate>
    <dc:creator>stevedark</dc:creator>
    <dc:date>2010-04-14T10:50:59Z</dc:date>
    <item>
      <title>Multiple profiles in Section Access</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-profiles-in-Section-Access/m-p/251352#M1207041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV dir="ltr"&gt;&lt;DIV id="tts_button" style="display: block;" title="Ascolta la traduzione"&gt;&lt;OBJECT data="http://www.gstatic.com/translate/sound_player.swf" height="18" id="tts_flash" type="application/x-shockwave-flash" width="18"&gt;&lt;PARAM name="movie" value="http://www.gstatic.com/translate/sound_player.swf" /&gt;&lt;PARAM name="flashvars" value="sound_name=&amp;amp;sound_name_cb=_TTSSoundFile" /&gt;&lt;PARAM name="wmode" value="transparent" /&gt;&lt;PARAM name="allowScriptAccess" value="always" /&gt;&lt;/OBJECT&gt;&lt;/DIV&gt;Can you help please&lt;/DIV&gt;&lt;P&gt;I create multiple profiles in Section access files:&lt;BR /&gt;I have more users.&lt;BR /&gt;Each user has permission to see only some values of specified fields. An example&lt;BR /&gt;Mario Rossi can see the value "ZS2" for the field AURAT ,&lt;BR /&gt;all those starting with "ZW" (identified by ZW*)&lt;BR /&gt;all values from 0 to ZOF (0,ZOF),&lt;BR /&gt;all values from ZOH to ZZZZ (ZOH ,ZZZZ)&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 321pt;" width="427"&gt;&lt;COL style="width: 83pt;" width="110" /&gt;&lt;COL style="width: 84pt;" width="112" /&gt;&lt;COL style="width: 102pt;" width="136" /&gt;&lt;COL style="width: 52pt;" width="69" /&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="height: 12.75pt; width: 83pt;" width="110"&gt;USERNAME&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; width: 84pt;" width="112"&gt;FIELD&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; width: 102pt;" width="136"&gt;LOW&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none; width: 52pt;" width="69"&gt;HIGH&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 321pt;" width="427"&gt;&lt;COL style="width: 83pt;" width="110" /&gt;&lt;COL style="width: 84pt;" width="112" /&gt;&lt;COL style="width: 102pt;" width="136" /&gt;&lt;COL style="width: 52pt;" width="69" /&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl22" height="17" style="height: 12.75pt; width: 83pt;" width="110"&gt;Mario Rossi&lt;/TD&gt;&lt;TD class="xl22" style="border-left: medium none; width: 84pt;" width="112"&gt;AUART&lt;/TD&gt;&lt;TD class="xl22" style="border-left: medium none; width: 102pt;" width="136"&gt;ZS2&lt;/TD&gt;&lt;TD class="xl22" style="border-left: medium none; width: 52pt;" width="69"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-top: medium none; height: 12.75pt;"&gt;Mario Rossi&lt;/TD&gt;&lt;TD class="xl22" style="border-top: medium none; border-left: medium none;"&gt;AUART&lt;/TD&gt;&lt;TD class="xl22" style="border-top: medium none; border-left: medium none;"&gt;ZW*&lt;/TD&gt;&lt;TD class="xl22" style="border-top: medium none; border-left: medium none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-top: medium none; height: 12.75pt;"&gt;Mario Rossi&lt;/TD&gt;&lt;TD class="xl22" style="border-top: medium none; border-left: medium none;"&gt;AUART&lt;/TD&gt;&lt;TD align="right" class="xl22" style="border-top: medium none; border-left: medium none;"&gt;0&lt;/TD&gt;&lt;TD class="xl22" style="border-top: medium none; border-left: medium none;"&gt;ZOF&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-top: medium none; height: 12.75pt;"&gt;Mario Rossi&lt;/TD&gt;&lt;TD class="xl22" style="border-top: medium none; border-left: medium none;"&gt;AUART&lt;/TD&gt;&lt;TD class="xl22" style="border-top: medium none; border-left: medium none;"&gt;ZOH&lt;/TD&gt;&lt;TD class="xl22" style="border-top: medium none; border-left: medium none;"&gt;ZZZZ&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 08:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-profiles-in-Section-Access/m-p/251352#M1207041</guid>
      <dc:creator />
      <dc:date>2010-04-14T08:27:21Z</dc:date>
    </item>
    <item>
      <title>Multiple profiles in Section Access</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-profiles-in-Section-Access/m-p/251353#M1207042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrea,&lt;/P&gt;&lt;P&gt;You can load your section access statement from the same data source as the rest of the data is coming from. I suspect you could therefore fashion a select statement that returned a row for each value that Mario could see?&lt;/P&gt;&lt;P&gt;For SQL Server it would be something a bit like:&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt; 'Mario Rossi' as USERNAME,&lt;BR /&gt; AUART&lt;BR /&gt;FROM SourceTable&lt;BR /&gt;WHERE&lt;BR /&gt; AUART = 'ZS2'&lt;BR /&gt; OR AUART LIKE 'ZW%'&lt;BR /&gt; OR AUART BETWEEN '0' AND 'ZOF'&lt;BR /&gt; OR AUART BETWEEN 'ZOH' AND 'ZZZZ'&lt;/P&gt;&lt;P&gt;UNION ALL&lt;BR /&gt;&lt;BR /&gt;SELECT&lt;BR /&gt; 'Someone Else' as USERNAME ,&lt;BR /&gt;.....&lt;/P&gt;&lt;P&gt;The most tidy way of doing this would probably be to build the logic for the security into a view, so a more simple select statement would appear in your load script.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 10:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-profiles-in-Section-Access/m-p/251353#M1207042</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2010-04-14T10:50:59Z</dc:date>
    </item>
  </channel>
</rss>

