<?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: Object level security with NTNAME in script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196784#M385960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please clarify me what is ntname and server ntname..&lt;/P&gt;&lt;P&gt;As per my understanding both are not different..&lt;/P&gt;&lt;P&gt;If its different then use servers ntname id in the section access part.&lt;/P&gt;&lt;P&gt;And make flag as YES for those ntnames who should see ur object and NO for those who should not have access to particular object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the section application part add the following inline script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INLINE LOAD&lt;/P&gt;&lt;P&gt;FLAG OBJETACCESS&lt;/P&gt;&lt;P&gt;YES ,1&lt;/P&gt;&lt;P&gt;NO,0&lt;/P&gt;&lt;P&gt;Please ensure the FLAG FIELD AND VALUES DEFINED IN THE section access and section application part are in upper case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally add the following condition in the CONDITIONAL HIDE of the object.&lt;/P&gt;&lt;P&gt;Sum(&lt;SPAN style="line-height: 1.5em;"&gt;OBJETACCESS)=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This way we can achive object level security.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Sep 2016 19:06:54 GMT</pubDate>
    <dc:creator>rajpreeths</dc:creator>
    <dc:date>2016-09-30T19:06:54Z</dc:date>
    <item>
      <title>Object level security with NTNAME in script?</title>
      <link>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196781#M385957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we achieve object level security by having NTNAME in the section access script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Users will be given access to document based on there NTNAME. But when they are on the server, dashboard takes servers NTNAME and we are unable to achieve object level security for users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(for example :&lt;/P&gt;&lt;P&gt;test:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;USER, FLAG&lt;/P&gt;&lt;P&gt;XXX, Y&lt;/P&gt;&lt;P&gt;YYY,N&lt;/P&gt;&lt;P&gt;ZZZ,Y];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;section access;&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;ACCESS, USER as NTNAME, FLAG&lt;/P&gt;&lt;P&gt;ADMIN, SERVERS NTNAME,&lt;/P&gt;&lt;P&gt;ADMIN, XXX, Y&lt;/P&gt;&lt;P&gt;ADMIN,YYY, N&lt;/P&gt;&lt;P&gt;USER, ZZZ, Y];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the above script if we want to hide any object on dashboard by giving condition, if(FLAG='N','***',SHOW-FIELD-VALUE), and when &lt;/P&gt;&lt;P&gt;USER with NTNAME YYY lo gin ,he is supposed to see *** for the object where we gave condition, but&amp;nbsp; he still see SHOW-FIELD-VALUE instead of ****, because on server its taking servers NTNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way we can achieve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 14:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196781#M385957</guid>
      <dc:creator>qlikuser222</dc:creator>
      <dc:date>2016-09-30T14:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Object level security with NTNAME in script?</title>
      <link>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196782#M385958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;section access;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load * inline [&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ACCESS, &lt;STRONG&gt;USER as NTNAME&lt;/STRONG&gt;, FLAG&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ADMIN, SERVERS NTNAME,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ADMIN, XXX, Y&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ADMIN,YYY, N&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;USER, ZZZ, Y];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The above does not create a field NTNAME, but a field [USER as NTNAME]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this instead:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;section access;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load * inline [&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ACCESS, &lt;STRONG&gt;NTNAME&lt;/STRONG&gt;, FLAG&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ADMIN, SERVERS NTNAME,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ADMIN, XXX, Y&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ADMIN,YYY, N&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;USER, ZZZ, Y];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196782#M385958</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-09-30T15:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Object level security with NTNAME in script?</title>
      <link>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196783#M385959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can able to create NTNAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is can we achieve object level security using NTNAME?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will have condition on objects based on the flag 'Y' or 'N' and flag is mapped to NTNAME. i was able to achieve the results on local machine. But not on the accesspoint&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because the flag will be mapped to NTNAME and when user in on the server , it always takes Servers NTNAME and there object level security is not possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 17:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196783#M385959</guid>
      <dc:creator>qlikuser222</dc:creator>
      <dc:date>2016-09-30T17:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Object level security with NTNAME in script?</title>
      <link>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196784#M385960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please clarify me what is ntname and server ntname..&lt;/P&gt;&lt;P&gt;As per my understanding both are not different..&lt;/P&gt;&lt;P&gt;If its different then use servers ntname id in the section access part.&lt;/P&gt;&lt;P&gt;And make flag as YES for those ntnames who should see ur object and NO for those who should not have access to particular object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the section application part add the following inline script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INLINE LOAD&lt;/P&gt;&lt;P&gt;FLAG OBJETACCESS&lt;/P&gt;&lt;P&gt;YES ,1&lt;/P&gt;&lt;P&gt;NO,0&lt;/P&gt;&lt;P&gt;Please ensure the FLAG FIELD AND VALUES DEFINED IN THE section access and section application part are in upper case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally add the following condition in the CONDITIONAL HIDE of the object.&lt;/P&gt;&lt;P&gt;Sum(&lt;SPAN style="line-height: 1.5em;"&gt;OBJETACCESS)=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This way we can achive object level security.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 19:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196784#M385960</guid>
      <dc:creator>rajpreeths</dc:creator>
      <dc:date>2016-09-30T19:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Object level security with NTNAME in script?</title>
      <link>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196785#M385961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add the condition in the sheet object as follows.&lt;/P&gt;&lt;P&gt;Right clikc sheet object then properties -》Layout tab -》 Conditional&lt;/P&gt;&lt;P&gt;Add your condition in the expression box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 19:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196785#M385961</guid>
      <dc:creator>rajpreeths</dc:creator>
      <dc:date>2016-09-30T19:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Object level security with NTNAME in script?</title>
      <link>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196786#M385962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I have the same issue as Nicholas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;On the local machine the qvw shows my NTNAME and select the correct flag. But when it is opened from Access point, it shows system user's NTNAME from which the qvw was reloaded in QMC and it always uses that same flag value related to system &lt;SPAN style="font-size: 13.3333330154419px;"&gt;user's NTNAME for all the users.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Can you help?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 11:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-level-security-with-NTNAME-in-script/m-p/1196786#M385962</guid>
      <dc:creator>aapurva09</dc:creator>
      <dc:date>2016-11-02T11:45:33Z</dc:date>
    </item>
  </channel>
</rss>

