According to the documentation, in the schema I have not specified any connection, nor “use default” option for tables, commands, etc.
So far I have tried:
- in Relativity Server, to use events like AfterLogin and BeforeLogin, in order to parse the available connections and set as current connection the appropriate connection for that user.
I have read the posts regarding security issues for using loginEx to change the ConnectionName, and I hoped that at least, in Relativity Server I cant use the events like beforeLogin, but it didn’t work. Reading documentation about custom Delphi server I ended up in other events, like onBeforeAcquireConnection event.
Any thoughts? How can I achieve this change of connection, other then writing custom server in Delphi or .Net? Can I use some event (beforeLogin) in Relativity? Can I create new events in Relativity (like onBeforeAcquireConnection);
As mentioned, I already read posts regarding this issue. Some of them: