Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

jp_golay
Contributor

Connect to Qlik Hub With Another User

Hi

I want to connect to Sense Server with another user that the logged in one.

I use this code

     mNETlocation = Qlik.Engine.Location.FromUri(uri);

     mNETlocation.AsNtlmUserViaProxy(useHttps); // OK Connect SENSE With current AD user in HTTP  without SSL

               

I suppose I need to use AsStaticHeaderUserViaProxy but where to put the Active directory user (domain\name is not supported)

and password???

mNETlocation.AsStaticHeaderUserViaProxy(@"domain\username", "password", useHttps);

Also how can I connect to QlikCloud it seem same kind of problem.

Thanks Jean-Philippe

5 Replies
Not applicable

Re: Connect to Qlik Hub With Another User

Hi,

If you want to connect as another user you can use impersonation. Attached you will find and example of impersonation.

// Lars-Göran Book

jp_golay
Contributor

Re: Connect to Qlik Hub With Another User

Thanks Lars I will try

I asked you also how to connect to QlikCloud by the way

Thanks

Not applicable

Re: Connect to Qlik Hub With Another User

Hi,

What do you want to implement with the QlikCloud?

Best Regards

Lars-Göran Book

jp_golay
Contributor

Re: Connect to Qlik Hub With Another User

Some of the features like this I don't know if available

  1. list the User Streams
  2. list applications
  3. import / export applications
  4. import / export libraries content
  5. create / view connections
Not applicable

Re: Connect to Qlik Hub With Another User

Jean-Philippe - At this moment we do not support access from the .NET SDK to a public Qlik Cloud instance. We will investigate the use case in more detail. Thank you for the feedback,

Best regards, Erik Kramer  

Community Browser