Forum Discussion

Maddy's avatar
Maddy
Ideator I
9 years ago

[ApplySQL] not allowed for userPrivileged [ApplySQL] not allowed for user

Hi, I am designing a small Windows Forms application, which will allow users to add/delete/view an item to/from Innovator database directly. From this application I can add Document and its attachment, now I want to open that document, and for that I write a sql query, but I get an error like this: [ApplySQL] not allowed for userPrivileged [ApplySQL] not allowed for user    Regards, Maddy.

3 Replies

  • Hi Maddy, As a security precaution applySQL() is only permitted for administrative users. As Zahar mentioned, you can use applyAML() to retrieve items as long as the logged in user has permission.
    Eli Donahue Aras Labs Software Engineer