<?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: Session Access &amp;amp; Data Reduction with LDAP users in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Session-Access-amp-Data-Reduction-with-LDAP-users/m-p/2473312#M29279</link>
    <description>&lt;P&gt;Here's an example script on how to leverage the OLE DB Provider for Microsoft Directory Services to load from AD:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Levi_Turner_0-1722020332642.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169992i58315822825138E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Levi_Turner_0-1722020332642.png" alt="Levi_Turner_0-1722020332642.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;AccountStatusMapping:&lt;BR /&gt;MAPPING LOAD * INLINE [&lt;BR /&gt;userAccountControl,Type&lt;BR /&gt;512,Active&lt;BR /&gt;514,Disabled&lt;BR /&gt;544,Active&lt;BR /&gt;546,Disabled&lt;BR /&gt;66048,Active&lt;BR /&gt;66050,Disabled&lt;BR /&gt;66080,Active&lt;BR /&gt;66082,Disabled&lt;BR /&gt;6291970,Disabled&lt;BR /&gt;1049090,Disabled&lt;BR /&gt;524802,Disabled&lt;BR /&gt;4784640,Active&lt;BR /&gt;4194816,Active&lt;BR /&gt;524800,Active&lt;BR /&gt;524832,Active&lt;BR /&gt;1049088,Active&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;FOR v=ORD('a') TO ORD('z')&lt;BR /&gt;&lt;SPAN&gt; LET q=CHR($(v));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; LIB CONNECT TO '&amp;lt;my data connection name&amp;gt;';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ActiveDirectory:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; LOAD&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; *,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ApplyMap('AccountStatusMapping',Num(userAccountControl),'Undefined') AS [Status];&lt;BR /&gt;&lt;SPAN&gt; SQL SELECT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; sAMAccountName,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; displayName,&lt;/SPAN&gt;&lt;BR /&gt; userAccountControl&lt;BR /&gt;&lt;SPAN&gt; FROM 'LDAP://&amp;lt;domain&amp;gt;.com'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; WHERE objectCategory = 'person' AND displayName ='$(q)*';&lt;/SPAN&gt;&lt;BR /&gt;NEXT ;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Some notes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;We loop over A-Z because Qlik will not load more users than the page size on the LDAP using this driver (in Windows Active Directory this will be the&amp;nbsp;&lt;STRONG&gt;MaxPageSize&lt;/STRONG&gt; setting ref:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/troubleshoot/windows-server/active-directory/view-set-ldap-policy-using-ntdsutil" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/windows-server/active-directory/view-set-ldap-policy-using-ntdsutil&lt;/A&gt;&amp;nbsp;).&lt;/LI&gt;
&lt;LI&gt;A more sophisticated LDAP query (consult your LDAP experts on this) may avoid this limit by focusing your efforts on only active users (not ones which have been disabled).&lt;/LI&gt;
&lt;LI&gt;The fields, especially the userAccountControl field, are Windows Active Directory specific, your LDAP may use different fields.&lt;/LI&gt;
&lt;LI&gt;Leverage external tools like Softerra's LDAP Browser (or consult your LDAP experts) on the field names. The data preview will not work.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Fri, 26 Jul 2024 19:15:01 GMT</pubDate>
    <dc:creator>Levi_Turner</dc:creator>
    <dc:date>2024-07-26T19:15:01Z</dc:date>
    <item>
      <title>Session Access &amp; Data Reduction with LDAP users</title>
      <link>https://community.qlik.com/t5/Management-Governance/Session-Access-amp-Data-Reduction-with-LDAP-users/m-p/2471694#M29275</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have imported my LDAP users which has more than 2000 users. I want to have Data reduction for each user based on location.&lt;/P&gt;
&lt;P&gt;By Fixing the users static as shown below,&amp;nbsp; In this way I am able to handle the Data Reduction for users based on Branch.&lt;/P&gt;
&lt;P&gt;But how to get the LDAP users list ,instead of INLINE load?&lt;/P&gt;
&lt;P&gt;Since I have more users it is hard to fix all users in INLINE load, kindly help me on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;Section Access;&lt;BR /&gt;Load * INLINE [&lt;BR /&gt;ACCESS, USERID, BRANCH&lt;BR /&gt;ADMIN, 01235 , CHENNAI&lt;BR /&gt;ADMIN, 66286, HYDERABAD&lt;BR /&gt;USER 336277, HYDERABAD&lt;BR /&gt;];&lt;BR /&gt;Section Application;&lt;BR /&gt;Branch:&lt;BR /&gt;LOAD&lt;/P&gt;
&lt;P&gt;BRANCH,&lt;/P&gt;
&lt;P&gt;......&lt;/P&gt;
&lt;P&gt;FROM .....;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 16:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Session-Access-amp-Data-Reduction-with-LDAP-users/m-p/2471694#M29275</guid>
      <dc:creator>Ajith_Raja_QlikSense</dc:creator>
      <dc:date>2025-01-29T16:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Session Access &amp; Data Reduction with LDAP users</title>
      <link>https://community.qlik.com/t5/Management-Governance/Session-Access-amp-Data-Reduction-with-LDAP-users/m-p/2471740#M29276</link>
      <description>&lt;P&gt;Connect to Ldap and extract the user, store as Qvd and use it.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 13:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Session-Access-amp-Data-Reduction-with-LDAP-users/m-p/2471740#M29276</guid>
      <dc:creator>TcnCunha_M</dc:creator>
      <dc:date>2024-07-19T13:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Session Access &amp; Data Reduction with LDAP users</title>
      <link>https://community.qlik.com/t5/Management-Governance/Session-Access-amp-Data-Reduction-with-LDAP-users/m-p/2471948#M29277</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for the reply, I have imported the LDAP users using the QMC User Active directory connections.&lt;/P&gt;
&lt;P&gt;Kindly provide any sample Connection string format &amp;amp; How to store LDAP Users as QVD.&lt;/P&gt;
&lt;P&gt;Thank You..&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 04:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Session-Access-amp-Data-Reduction-with-LDAP-users/m-p/2471948#M29277</guid>
      <dc:creator>Ajith_Raja_QlikSense</dc:creator>
      <dc:date>2024-07-22T04:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Session Access &amp; Data Reduction with LDAP users</title>
      <link>https://community.qlik.com/t5/Management-Governance/Session-Access-amp-Data-Reduction-with-LDAP-users/m-p/2471990#M29278</link>
      <description>&lt;P&gt;there some sample on the community like:&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Documents/Active-Directory-Extract-Users-and-Groups/ta-p/1479167" target="_blank"&gt;Active Directory: Extract Users and Groups - Qlik Community - 1479167&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;to not load all of your Active directory, try to get only the user has licenses on Qlik Sense by rest api&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/td-p/116033" target="_blank"&gt;Qlik Sense License Management through API - Qlik Community - 116033&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 08:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Session-Access-amp-Data-Reduction-with-LDAP-users/m-p/2471990#M29278</guid>
      <dc:creator>TcnCunha_M</dc:creator>
      <dc:date>2024-07-22T08:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Session Access &amp; Data Reduction with LDAP users</title>
      <link>https://community.qlik.com/t5/Management-Governance/Session-Access-amp-Data-Reduction-with-LDAP-users/m-p/2473312#M29279</link>
      <description>&lt;P&gt;Here's an example script on how to leverage the OLE DB Provider for Microsoft Directory Services to load from AD:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Levi_Turner_0-1722020332642.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169992i58315822825138E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Levi_Turner_0-1722020332642.png" alt="Levi_Turner_0-1722020332642.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;AccountStatusMapping:&lt;BR /&gt;MAPPING LOAD * INLINE [&lt;BR /&gt;userAccountControl,Type&lt;BR /&gt;512,Active&lt;BR /&gt;514,Disabled&lt;BR /&gt;544,Active&lt;BR /&gt;546,Disabled&lt;BR /&gt;66048,Active&lt;BR /&gt;66050,Disabled&lt;BR /&gt;66080,Active&lt;BR /&gt;66082,Disabled&lt;BR /&gt;6291970,Disabled&lt;BR /&gt;1049090,Disabled&lt;BR /&gt;524802,Disabled&lt;BR /&gt;4784640,Active&lt;BR /&gt;4194816,Active&lt;BR /&gt;524800,Active&lt;BR /&gt;524832,Active&lt;BR /&gt;1049088,Active&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;FOR v=ORD('a') TO ORD('z')&lt;BR /&gt;&lt;SPAN&gt; LET q=CHR($(v));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; LIB CONNECT TO '&amp;lt;my data connection name&amp;gt;';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ActiveDirectory:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; LOAD&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; *,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ApplyMap('AccountStatusMapping',Num(userAccountControl),'Undefined') AS [Status];&lt;BR /&gt;&lt;SPAN&gt; SQL SELECT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; sAMAccountName,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; displayName,&lt;/SPAN&gt;&lt;BR /&gt; userAccountControl&lt;BR /&gt;&lt;SPAN&gt; FROM 'LDAP://&amp;lt;domain&amp;gt;.com'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; WHERE objectCategory = 'person' AND displayName ='$(q)*';&lt;/SPAN&gt;&lt;BR /&gt;NEXT ;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Some notes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;We loop over A-Z because Qlik will not load more users than the page size on the LDAP using this driver (in Windows Active Directory this will be the&amp;nbsp;&lt;STRONG&gt;MaxPageSize&lt;/STRONG&gt; setting ref:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/troubleshoot/windows-server/active-directory/view-set-ldap-policy-using-ntdsutil" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/windows-server/active-directory/view-set-ldap-policy-using-ntdsutil&lt;/A&gt;&amp;nbsp;).&lt;/LI&gt;
&lt;LI&gt;A more sophisticated LDAP query (consult your LDAP experts on this) may avoid this limit by focusing your efforts on only active users (not ones which have been disabled).&lt;/LI&gt;
&lt;LI&gt;The fields, especially the userAccountControl field, are Windows Active Directory specific, your LDAP may use different fields.&lt;/LI&gt;
&lt;LI&gt;Leverage external tools like Softerra's LDAP Browser (or consult your LDAP experts) on the field names. The data preview will not work.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 26 Jul 2024 19:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Session-Access-amp-Data-Reduction-with-LDAP-users/m-p/2473312#M29279</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2024-07-26T19:15:01Z</dc:date>
    </item>
  </channel>
</rss>

