Click or drag to resize
LocationExtensionsAsDirectConnection Method
Defining the location as a direct connection to Qlik Sense using a specific user

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static void AsDirectConnection(
	this ILocation location,
	string userDirectory,
	string userId,
	bool extendedSecurityEnvironment = false
)

Parameters

location
Type: Qlik.EngineILocation
userDirectory
Type: SystemString
User directory name
userId
Type: SystemString
User id
extendedSecurityEnvironment (Optional)
Type: SystemBoolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILocation. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also