Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Not applicable

Session Module API: Why can't I create a user?

I see that this help article:

https://help.qlik.com/sense/2.1/en-us/developer/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/P...

allows me to get a user and delete a user?  How do I create a user?

4 Replies
Not applicable

Re: Session Module API: Why can't I create a user?

Anyone? Thank you.

Not applicable

Re: Session Module API: Why can't I create a user?

You create users through the Qlik Sense repository API.

However, when you make a request using the Qlik Proxy Service API, supplying the userdirectory and userid in the body of the json object you create for the API request, the user entry will be created upon successful authentication in the system

jg

Not applicable

Re: Session Module API: Why can't I create a user?

Hello Jeff,

Hmmmm... I see : http://help.qlik.com/sense/2.1/en-us/developer/Subsystems/RepositoryServiceAPI/Content/RepositorySer...

Q) Is this the Qlik Sense Repository API example that you wrote about?

----------------------

And yes, I see the QPS, the user entry will be created upon successful authentication in the system.


Q) Why would I choose 1 over the other?  Advantages?  Disadvantages of them both?

Thanks in advance!

Michael

Not applicable

Re: Session Module API: Why can't I create a user?

Michael, I think it comes down to deployment strategy.  If you "know" where users are coming from and you want to add them and their attributes in advance then the QRS method is probably the way to go.

If you are going to be accepting a lot of users coming from lots of different places and you don't have the capability to manage adding those users in advance then just letting it flow through the login process is easiest.

jg