Delphi Datasnap: How to know the name of the methods called by client in delphi datasnap server?

  

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:
Walter Prins:
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

Comments are closed.