Delphi Datasnap: How to know the name of the methods called by client in delphi datasnap server?
Posted by jpluimers on 2020/01/14
A great tip from [WayBack] Hi, need help regarding Datasnap. How to know the name of the methods called by client in delphi datasnap server? – sujansiddhi – Google+ that I needed a few months ago:
Inside TDSAuthenticationManager.OnUserAuthorize, inspect the EventObject.MethodAlias property. (Obviously once the method is actually called you implicitly know the methodname.)
This was introduced in Delphi XE:
- [Archive.is] DSAuth.TDSAuthenticationManager.OnUserAuthorize – XE API Documentation
- [Archive.is] Authentication and Authorization – RAD Studio XE
–jeroen






Leave a comment