Icon OnServerSessionLogin Event

property OnServerSessionLogin: TEDBServerSessionLoginEvent

The OnServerSessionLogin event is fired when a remote session attempts to log in to the ElevateDB Server when the EngineType property is set to etServer. Write an event handler for this event in order to intercept all logins and perform any processing before the login, or even reject the login, if necessary. This is useful in situations where one wants to validate a session login against another authority, such as Active Directory Services in Windows.

Information This event handler does not replace the normal login process, which will still occur after this event has been executed. For example, even if one validates the login information against another authority and allows the login to proceed, the login information will still need to be valid for a defined user in the ElevateDB Server's current configuration.

Warning This event can be called from multiple threads, so any code that is called from this event handler must be thread-safe.
Image