5 Replies Latest reply: Jan 28, 2015 4:40 AM by Erik Kramer RSS

    Connect to Qlik Hub With Another User

    Jean Philippe Golay

      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