Skip to main content Skip to complementary content
Close announcements banner

AsDirectConnection Method

Overloads

AsDirectConnection(String, String, X509Certificate2Collection, Boolean)

Defining the location as a direct connection to Qlik Sense using a specific user. Connection will be made to port 4747 unless port is explicitly stated in location URI.

AsDirectConnection(String, String, X509Certificate2Collection, Int32, Boolean)

Defining the location as a direct connection to Qlik Sense using a specific user.

AsDirectConnection(String, String, X509Certificate2Collection, Boolean)

Defining the location as a direct connection to Qlik Sense using a specific user. Connection will be made to port 4747 unless port is explicitly stated in location URI.

Declaration

      public void AsDirectConnection(string userDirectory, string userId, X509Certificate2Collection certificateCollection, bool certificateValidation = true)
    

Parameters

Type Name Description
System.String userDirectory

User directory name

System.String userId

User id

System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificateCollection

Collection of certificates to use when connecting

System.Boolean certificateValidation

Indicates if invalid certificates should be ignored

Implements

AsDirectConnection(String, String, X509Certificate2Collection, Int32, Boolean)

Defining the location as a direct connection to Qlik Sense using a specific user.

Declaration

      public void AsDirectConnection(string userDirectory, string userId, X509Certificate2Collection certificateCollection, int enginePort, bool certificateValidation = true)
    

Parameters

Type Name Description
System.String userDirectory

User directory name

System.String userId

User id

System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificateCollection

Collection of certificates to use when connecting

System.Int32 enginePort

The engine port to connect to.

System.Boolean certificateValidation

Indicates if invalid certificates should be ignored

Implements

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!