<?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: Overview Users per task in NPrinting in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Overview-Users-per-task-in-NPrinting/m-p/1705941#M29043</link>
    <description>&lt;P&gt;sure - that is totally understandable approach..&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2020 08:38:40 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2020-05-28T08:38:40Z</dc:date>
    <item>
      <title>Overview Users per task in NPrinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Overview-Users-per-task-in-NPrinting/m-p/1704918#M29024</link>
      <description>&lt;P&gt;Goodmorning everybody&lt;/P&gt;&lt;P&gt;We have 100+ tasks in NPrinting 19.&amp;nbsp; Now I like to know which users are involved in every task. So I like to have a list with all tasks and of every task the users that are linked to that specific task.&lt;/P&gt;&lt;P&gt;How to do that?&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 13:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Overview-Users-per-task-in-NPrinting/m-p/1704918#M29024</guid>
      <dc:creator>jharke</dc:creator>
      <dc:date>2020-05-25T13:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Overview Users per task in NPrinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Overview-Users-per-task-in-NPrinting/m-p/1704996#M29027</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is no out of the box solution for your query.&lt;/P&gt;&lt;P&gt;In my deployments I would maintain Recipient list where users would belong to NPrinting groups (each group for each report task). Then I would use API to retrieve user-group association used in NPrinting or simply I would refer to the spreadsheet or LDAP for user-group association to get information which user receives which report.&lt;/P&gt;&lt;P&gt;I assume you did not follow that practice and you simply put your users into publish task.&lt;/P&gt;&lt;P&gt;At the moment the only way of getting that information out would be by tapping into repository&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/NPrinting-Repository-Database-Name/td-p/1335193" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/NPrinting-Repository-Database-Name/td-p/1335193&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to connect from other than local server you need to adjust postgress database config to allow for it:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/How-to-connect-to-postgresql-database-from-another-server/m-p/1690593#M28517" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/How-to-connect-to-postgresql-database-from-another-server/m-p/1690593#M28517&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and retrieving below information:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"public"."usr" - this table contains users details&lt;/LI&gt;&lt;LI&gt;"public"."user_group_to_usr" - this table contains user-group (association) and needs to be used as a bridge to allow link users to reports if group was used in publish task&lt;/LI&gt;&lt;LI&gt;"public"."report" - this table will give you report details like name, format , description etc..&lt;/LI&gt;&lt;LI&gt;"publish_report_task_report" - this table associates tasks and reports&lt;/LI&gt;&lt;LI&gt;"public"."publish_report_task_recipient"&amp;nbsp; - this table associates tasks and users/groups&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;With the above tables you will be able to quickly build an qlik app which will give you information you need.&lt;/P&gt;&lt;P&gt;sample script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[publish_report_task_recipient]:
LOAD  
	enabled, 
	web_destination_active, 
	smtp_destination_active, 
	publish_report_task_id, 
	recipient_id;
SELECT 
	*
FROM "public"."publish_report_task_recipient";



[publish_report_task_report]:
LOAD 
	output_format				as [Report output format], 
	advanced_settings, 
//	enabled, 
	is_email_attachment, 
	title, 
// 	read_password, 
// 	write_password, 
	encryption_type, 
	publish_report_task_id		, 
	report_id					as report_id_Key,
;
SELECT 
	*
FROM "public"."publish_report_task_report";


[report]:
LOAD 
	id					as report_id_Key, 
	version, 
// 	created, 
// 	last_update, 
	report_type_id, 
	title				as [report title], 
	description			as [report description], 
	original_ref, 
	enabled				as [report enabled],
	on_demand_enabled	as [report on demand], 
	template_format		as [report template format], 
	entities_xml		as [report entities], 
;
SELECT 
	*
FROM "public"."report";

//

[user_group_to_usr]:
LOAD 
	user_group_id, 
	user_id;
SELECT 
	*
FROM 
	"public"."user_group_to_usr"
;

users:
LOAD 
	'users'				as user_link_type,
    recipient_id, 
	key_id, 
	sid, 
	salt, 
	hashed_password, 
	domain_account, 
	locale, 
	timezone, 
	email, 
	last_login_attempt, 
	login_delay, 
	last_logout, 
	folder, 
	sub_folder, 
	nickname, 
	company, 
	job_title, 
	department, 
	office, 
	read_password, 
	write_password, 
	alternate_email_1, 
	alternate_email_2, 
	alternate_email_3;
SELECT 
	*
FROM "public"."usr";

left join (user_group_to_usr)
LOAD 
	'group'				as user_link_type,
    recipient_id		as user_id, 
	key_id, 
	sid, 
	salt, 
	hashed_password, 
	domain_account, 
	locale, 
	timezone, 
	email, 
	last_login_attempt, 
	login_delay, 
	last_logout, 
	folder, 
	sub_folder, 
	nickname, 
	company, 
	job_title, 
	department, 
	office, 
	read_password, 
	write_password, 
	alternate_email_1, 
	alternate_email_2, 
	alternate_email_3;
SELECT 
	*
FROM "public"."usr";

Concatenate (users)
Load
	'group'				as user_link_type,
    user_group_id		as recipient_id, 
	key_id, 
	sid, 
	salt, 
	hashed_password, 
	domain_account, 
	locale, 
	timezone, 
	email, 
	last_login_attempt, 
	login_delay, 
	last_logout, 
	folder, 
	sub_folder, 
	nickname, 
	company, 
	job_title, 
	department, 
	office, 
	read_password, 
	write_password, 
	alternate_email_1, 
	alternate_email_2, 
	alternate_email_3
Resident
	user_group_to_usr
;

Drop table user_group_to_usr;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;!!! Tapping into repository db is not supported. You can do it at your own risk. Make sure you take repository backup before accessing it !!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;The above is just example what is technically&amp;nbsp;possible but is not recommended.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 00:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Overview-Users-per-task-in-NPrinting/m-p/1704996#M29027</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-05-26T00:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Overview Users per task in NPrinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Overview-Users-per-task-in-NPrinting/m-p/1705915#M29042</link>
      <description>&lt;P&gt;Well, as I do not know anything about PostGres and I don't want to mess with config files (NPrinting is indeed on another server as Qlikview or Qlik Sense), I will try the 'group - spreadsheet' method&amp;nbsp; and use API to get the groups&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 07:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Overview-Users-per-task-in-NPrinting/m-p/1705915#M29042</guid>
      <dc:creator>jharke</dc:creator>
      <dc:date>2020-05-28T07:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Overview Users per task in NPrinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Overview-Users-per-task-in-NPrinting/m-p/1705941#M29043</link>
      <description>&lt;P&gt;sure - that is totally understandable approach..&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 08:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Overview-Users-per-task-in-NPrinting/m-p/1705941#M29043</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-05-28T08:38:40Z</dc:date>
    </item>
  </channel>
</rss>

