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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
random_user_3869
Partner - Creator III
Partner - Creator III

Automatically creating NPrinting users from Qlik user list (NPrinting February 2024) — is it possible?

Hi everyone,

I’m looking for a way to automatically create NPrinting users based on the list of users that already exists in Qlik (Qlik Sense or QlikView).
My goal is to:

  • automatically register these users in NPrinting
  • automatically assign them a security role
  • avoid manual creation in the NPrinting console

I know that NPrinting provides REST APIs, and I shared this reference with my admins:
https://help.qlik.com/en-US/nprinting/June2018/APIs/NP+API/index.html?page=50

However, we haven’t been able to make it work so far.

The environment runs on Qlik NPrinting February 2024.

My questions are:

  1. Is it possible to automatically create and manage NPrinting users using the API in more recent versions like February 2024?
  2. If yes, do you have a working example (API endpoint, payload, authentication) to create a user and assign a security role?
  3. If no, is there any recommended workaround for syncing Qlik users to NPrinting?

Thanks a lot for your help!

Labels (2)
3 Replies
yunus_emre
Contributor III
Contributor III

Hi @random_user_3869 ,

you can use Nprinting Import Tasks. This way creates users automatically.

https://help.qlik.com/en-US/nprinting/February2025/Content/NPrinting/DeployingQVNprinting/Import-Use...

I hope it works.

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

I totally agree with @yunus_emre

If data is stored in the app i first build nprinting excel template which creates a file for me having all the users, filters and groups i need. 

otherwise if you want to use API i wrote whole bunch of subroutines. There are some handling users management:

https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/

 

cheers

 

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
kftemel
Contributor
Contributor

Hi, 

You can create a group in Active Directory (e.g., NPUsers) and add all users to this group. If you define a role with the same name in NPrinting (it can be a copy of the Default User role), the role assignment will be done automatically.

BR.