<?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: User management in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/User-management/m-p/1795370#M1313019</link>
    <description>&lt;P&gt;Hi and thanks for you suggestion. We are using DMS authorization so I guess your script does not function for us?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Mar 2021 16:10:28 GMT</pubDate>
    <dc:creator>hug_qlikview</dc:creator>
    <dc:date>2021-03-29T16:10:28Z</dc:date>
    <item>
      <title>User management</title>
      <link>https://community.qlik.com/t5/QlikView/User-management/m-p/1795296#M1313013</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to be able to export all the users and their access to a file. I am interested in knowing what each user has assess to. I can only get one user at the time in the tab User Management the user documents (I am not interested in session statistics which gives me what the users access).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Maria&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-management/m-p/1795296#M1313013</guid>
      <dc:creator>hug_qlikview</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: User management</title>
      <link>https://community.qlik.com/t5/QlikView/User-management/m-p/1795364#M1313015</link>
      <description>&lt;P&gt;This may not be what you are looking for, but we use NTFS authorization.&amp;nbsp; I found that checking the actual security on the QVWs on the AccessPortal server was more accurate than checking in the QMC.&amp;nbsp; In our development environment, a task could be disabled and if the security was changed after the last reload, the security on the QVW did not match what was in the QMC.&lt;/P&gt;&lt;P&gt;I used a Python script to check the security on the QVWs and email any changes to our Qlik Admins.&amp;nbsp; The Python script maintains 2 files, the current changes and all the security on the QVWs.&lt;/P&gt;&lt;P&gt;from os import walk&lt;BR /&gt;from os.path import basename&lt;BR /&gt;import os&lt;BR /&gt;import win32security&lt;BR /&gt;import sys&lt;/P&gt;&lt;P&gt;import smtplib&lt;BR /&gt;from email.mime.application import MIMEApplication&lt;BR /&gt;from email.mime.multipart import MIMEMultipart&lt;BR /&gt;from email.mime.text import MIMEText&lt;BR /&gt;from email.utils import COMMASPACE, formatdate&lt;BR /&gt;import datetime&lt;BR /&gt;import time&lt;/P&gt;&lt;P&gt;#&lt;BR /&gt;# define email function&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;def send_mail(send_from, send_to, subject, text, files=None,server="127.0.0.1"):&lt;BR /&gt;&lt;BR /&gt;assert isinstance(send_to, list)&lt;/P&gt;&lt;P&gt;msg = MIMEMultipart()&lt;BR /&gt;msg['From'] = send_from&lt;BR /&gt;msg['To'] = COMMASPACE.join(send_to)&lt;BR /&gt;msg['Date'] = formatdate(localtime=True)&lt;BR /&gt;msg['Subject'] = subject&lt;/P&gt;&lt;P&gt;msg.attach(MIMEText(text))&lt;/P&gt;&lt;P&gt;for f in files or []:&lt;BR /&gt;if len(f) &amp;gt; 0:&lt;BR /&gt;current_file = f&lt;BR /&gt;with open(current_file, "rb") as fil:&lt;BR /&gt;part = MIMEApplication(&lt;BR /&gt;fil.read(),&lt;BR /&gt;Name=basename(current_file)&lt;BR /&gt;)&lt;BR /&gt;# After the file is closed&lt;BR /&gt;part['Content-Disposition'] = 'attachment; filename="%s"' % basename(current_file)&lt;BR /&gt;msg.attach(part)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;smtp = smtplib.SMTP(server)&lt;BR /&gt;smtp.sendmail(send_from, send_to, msg.as_string())&lt;BR /&gt;smtp.close()&lt;/P&gt;&lt;P&gt;#&lt;BR /&gt;# get parameters&lt;BR /&gt;#&lt;BR /&gt;# 1 = server&lt;BR /&gt;# 2 = environment (Production, Development, Test)&lt;BR /&gt;# 3 = default_path&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;if len(sys.argv) &amp;lt; 4:&lt;BR /&gt;sys.exit(1)&lt;BR /&gt;else:&lt;BR /&gt;server = sys.argv[1]&lt;BR /&gt;env = sys.argv[2]&lt;BR /&gt;default_path = sys.argv[3]&lt;/P&gt;&lt;P&gt;#&lt;BR /&gt;# read EmailList.txt into list&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;with open("EmailList.txt") as temp_email_list:&lt;BR /&gt;send_to_list = [line.rstrip('\n') for line in temp_email_list]&lt;BR /&gt;&lt;BR /&gt;outputFileName = server+'fileSecurity.txt'&lt;BR /&gt;currentSecurityFileName = './CurrentSecurity/'+outputFileName&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#&lt;BR /&gt;# load curent security file&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;previousSecurity=[]&lt;BR /&gt;if os.path.isfile(currentSecurityFileName):&lt;BR /&gt;cs = open(currentSecurityFileName,'r')&lt;BR /&gt;for l in cs:&lt;BR /&gt;previousSecurity.append(l.rstrip())&lt;BR /&gt;cs.close()&lt;/P&gt;&lt;P&gt;#&lt;BR /&gt;# loop through path and locate QVWs&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;email_flag = False&lt;/P&gt;&lt;P&gt;currentSecurity = []&lt;BR /&gt;newSecurity = []&lt;BR /&gt;for root, dirs, files in os.walk(default_path):&lt;BR /&gt;for name in files:&lt;BR /&gt;if name[-4:] == '.qvw':&lt;BR /&gt;l = ""&lt;BR /&gt;p = os.path.join(root,name)&lt;BR /&gt;try:&lt;BR /&gt;si = win32security.GetFileSecurity (p, win32security.DACL_SECURITY_INFORMATION)&lt;BR /&gt;try:&lt;BR /&gt;dacl = si.GetSecurityDescriptorDacl()&lt;BR /&gt;acl_item = []&lt;BR /&gt;for item in range(dacl.GetAceCount()):&lt;BR /&gt;try:&lt;BR /&gt;acl_item = dacl.GetAce(item)&lt;BR /&gt;try:&lt;BR /&gt;user_name,domain,type = win32security.LookupAccountSid (None, acl_item[2])&lt;BR /&gt;l = name+'\t'+p+'\t'+user_name+'('+domain+')'&lt;/P&gt;&lt;P&gt;currentSecurity.append(l)&lt;BR /&gt;if l not in previousSecurity:&lt;BR /&gt;email_flag = True&lt;BR /&gt;newSecurity.append(l)&lt;/P&gt;&lt;P&gt;except:&lt;BR /&gt;l = name+'\t'+p+'\t'+'***ERROR*** Unable to look up Account SID'+acl_item[2]&lt;BR /&gt;currentSecurity.append(l)&lt;BR /&gt;if l not in previousSecurity:&lt;BR /&gt;email_flag = True&lt;BR /&gt;newSecurity.append(l)&lt;BR /&gt;&lt;BR /&gt;except:&lt;BR /&gt;l = name+'\t'+p+'\t'+'***ERROR*** Unable to get individual ACL items'&lt;BR /&gt;currentSecurity.append(l)&lt;BR /&gt;if l not in previousSecurity:&lt;BR /&gt;email_flag = True&lt;BR /&gt;newSecurity.append(l)&lt;BR /&gt;&lt;BR /&gt;except:&lt;BR /&gt;l = name+'\t'+p+'\t'+'***ERROR*** Unable to get ACL information'&lt;BR /&gt;currentSecurity.append(l)&lt;BR /&gt;if l not in previousSecurity:&lt;BR /&gt;email_flag = True&lt;BR /&gt;newSecurity.append(l)&lt;/P&gt;&lt;P&gt;except:&lt;BR /&gt;l = name+'\t'+p+'\t'+'****ERROR**** Unable to get file security'&lt;BR /&gt;currentSecurity.append(l)&lt;BR /&gt;if l not in previousSecurity:&lt;BR /&gt;email_flag = True&lt;BR /&gt;newSecurity.append(l)&lt;/P&gt;&lt;P&gt;#&lt;BR /&gt;# if new security found, update currentSecurity and newSecurity files&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;if email_flag:&lt;BR /&gt;cs = open(currentSecurityFileName,'w')&lt;BR /&gt;cs.write('QVW\tPath\tGroup or User Name\n')&lt;BR /&gt;for l in currentSecurity:&lt;BR /&gt;cs.write(l+'\n')&lt;BR /&gt;cs.close()&lt;/P&gt;&lt;P&gt;f_out = open(outputFileName,'w')&lt;BR /&gt;f_out.write('QVW\tPath\tGroup or User Name\n')&lt;BR /&gt;for l in newSecurity:&lt;BR /&gt;f_out.write(l+'\n')&lt;BR /&gt;f_out.close()&lt;/P&gt;&lt;P&gt;#&lt;BR /&gt;# email security file&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;if email_flag:&lt;BR /&gt;send_mail('##########@#####.###',send_to_list,env+':Qlikview Application Security',env+':Qlikview Application Security',[outputFileName],'smtp.#####.###')&lt;/P&gt;&lt;P&gt;email_flag = False&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 15:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-management/m-p/1795364#M1313015</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2021-03-29T15:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: User management</title>
      <link>https://community.qlik.com/t5/QlikView/User-management/m-p/1795366#M1313017</link>
      <description>Maria,&lt;BR /&gt;Take a look at this thread: &lt;A href="https://community.qlik.com/t5/QlikView-Administration/I-see-no-way-in-the-QMC-to-export-a-list-of-named-users-for-a-QV/td-p/1567754" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Administration/I-see-no-way-in-the-QMC-to-export-a-list-of-named-users-for-a-QV/td-p/1567754&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Mar 2021 16:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-management/m-p/1795366#M1313017</guid>
      <dc:creator>Lucas_Gatling</dc:creator>
      <dc:date>2021-03-29T16:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: User management</title>
      <link>https://community.qlik.com/t5/QlikView/User-management/m-p/1795370#M1313019</link>
      <description>&lt;P&gt;Hi and thanks for you suggestion. We are using DMS authorization so I guess your script does not function for us?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 16:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-management/m-p/1795370#M1313019</guid>
      <dc:creator>hug_qlikview</dc:creator>
      <dc:date>2021-03-29T16:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: User management</title>
      <link>https://community.qlik.com/t5/QlikView/User-management/m-p/1795378#M1313021</link>
      <description>&lt;P&gt;Hi Lucas and thanks for the link,&lt;/P&gt;&lt;P&gt;I am looking for a way to find all access all my users have, not just the user rights to one qlikview application. We are running in DMS authorization and have mainly session cals.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;maria&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 16:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-management/m-p/1795378#M1313021</guid>
      <dc:creator>hug_qlikview</dc:creator>
      <dc:date>2021-03-29T16:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: User management</title>
      <link>https://community.qlik.com/t5/QlikView/User-management/m-p/1795781#M1313024</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14106"&gt;@hug_qlikview&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;If you are using DMS for authorization, then QV uses information in the &amp;lt;name&amp;gt;.qvw's corresponding &amp;lt;name&amp;gt;.meta file.&amp;nbsp; The following is from the thread&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/36735"&gt;@Lucas_Gatling&lt;/a&gt;&amp;nbsp;previously provided, "&lt;SPAN&gt;&lt;EM&gt;What you would really need to do is use the Power Tools and the Shared File Viewer, which can read .meta files too, in order to open the .meta file and get to the assigned users/groups that way.&lt;/EM&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 18:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-management/m-p/1795781#M1313024</guid>
      <dc:creator>Chip_Matejowsky</dc:creator>
      <dc:date>2021-03-30T18:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: User management</title>
      <link>https://community.qlik.com/t5/QlikView/User-management/m-p/1795937#M1313026</link>
      <description>&lt;P&gt;Hi Lucas,&lt;/P&gt;&lt;P&gt;We are running QV 12.2, is the ShareFileViewer available to view user access?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Maria&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 09:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-management/m-p/1795937#M1313026</guid>
      <dc:creator>hug_qlikview</dc:creator>
      <dc:date>2021-03-31T09:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: User management</title>
      <link>https://community.qlik.com/t5/QlikView/User-management/m-p/1796019#M1313028</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14106"&gt;@hug_qlikview&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can find the ShareFileViewer as part of the PowerTools for QV here:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/Power-Tools-1-3-2-for-QlikView/ta-p/1484770" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/Power-Tools-1-3-2-for-QlikView/ta-p/1484770&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 12:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-management/m-p/1796019#M1313028</guid>
      <dc:creator>Chip_Matejowsky</dc:creator>
      <dc:date>2021-03-31T12:59:22Z</dc:date>
    </item>
  </channel>
</rss>

