I tried direct query, but I don't know how to make it to work with SECTION ACCESS. No row reduction is applied using the sample below. Maybe I am missing something..
//Row Reduction Security -- ACCESS = USER or *
QlikAccessType AS ACCESS ,
LDAPFullUserLogin AS USERID,
QlikSecureValue AS CompanyId
// Model Definition starts .. SECTION APPLICATION; ...