Icon OnAuthenticate Event

property OnAuthenticate: TServerSessionAuthenticateEvent

Available In: Visual Client Applications

This event is triggered before a server session attempts to perform authentication. You can use an event handler attached to this event to update the UserName and/or Password properties before the authentication occurs.

Set the function result to False to prevent the authentication from proceeding.

Information If the function result is set to False, an exception will be raised indicating that the authentication was cancelled.
Image