Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates

How to recover Qlik NPrinting Administrator account privileges

cancel
Showing results for 
Search instead for 
Did you mean: 
Eduardo_Monteiro
Partner - Creator III
Partner - Creator III

How to recover Qlik NPrinting Administrator account privileges

Last Update:

Mar 10, 2026 8:58:32 PM

Updated By:

Eduardo_Monteiro

Created date:

Mar 10, 2026 9:38:37 PM

This article assumes you understand:

  • How to use pgAdmin
  • Have postgres credentials for Qlik NPrinting
  • How to connect to the Qlik NPrinting database

 

* Modifying the Qlik NPrinting Repository will void the Support Agreement! Changes to the database should be performed by the Qlik NPrinting services only or through the use of supported API calls.

 

Overview

If, for some reason, you lost the Administrator role for your Qlik NPrinting Admin account and you are unable to change settings in the Web Console, you can follow this article to restore administrative access to the target account.

 

Symptoms

You are unable to edit/change any Administrative settings.

np_no_admin_priv.png

 

Resolution

You can force insert/update the user in the database with the administrator role id.

The first step is to connect to the database using pgAdmin.

 

The second step is to identify the administrator role id using pgAdmin.

  • Open pgAdmin
  • Connect to the Qlik NPrinting database
  • Navigate to: Databases>nprinting>Schemas>public>Tables>role
  • Right-click the table "role" and select "All Rows".

np_roles_retrieve_adminID.png

  •  Take note of the administrator "id" (green marked in the image above).

In my test environment, the administrator role equals "6b800774-db4f-4b5e-a975-24e5b86b5ece".

 

The third step is to identify the user role ID using pgAdmin.

  • Open pgAdmin
  • Connect to the Qlik NPrinting database
  • Navigate to: Databases>nprinting>Schemas>public>Tables>usr
  • Right-click the table "usr" and select "All Rows".

np_usr_retrieve_recipientD.png

 np_usr_recipientD.png

  • Take note of the administrator "id" (green marked in the image above).

In my test environment, the administrator role equals "1628ad97-75af-4cb3-897f-da1cb07777e5".

The fourth step is to update the "role_recipient" table.

  • Open pgAdmin
  • Connect to the Qlik NPrinting database
  • Open the Query tool by navigating to the top menu "Tools>Query Tool".


Use the following command line, replacing the information you previously retrieved.

Insert into public.role_recipient VALUES ('user role id','administrator role id');

In my scenario, it will be:

Insert into public.role_recipient VALUES ('1628ad97-75af-4cb3-897f-da1cb07777e5','6b800774-db4f-4b5e-a975-24e5b86b5ece');

Click "Execute script" or press F5.

np_query_tool_result.png

Go back to Web Console and refresh the page. The target user should have Admin privileges. 

 

Environment

  • Qlik NPrinting May 2023 IR to February 2025 SR4
  • pgAdmin 9.13
Labels (2)
Comments
steveshaw
Partner - Contributor III
Partner - Contributor III

Helpful. Thank you @Eduardo_Monteiro 

SergioProba
Partner - Contributor II
Partner - Contributor II

Thanks for sharing this article.

priscilarubim
Partner - Creator II
Partner - Creator II

Thanks for sharing!!!

TonySapede
Partner - Contributor II
Partner - Contributor II

Nice one. Thanks!

Contributors
Version history
Last update:
‎2026-03-10 08:58 PM
Updated by: