#1 2013-08-02 20:52:22

esmondb
Member
From: London
Registered: 2010-07-20
Posts: 299

Audit trail

I'm trying to create an audit trail like in the MainDemo but I would also like to track the TSQLAuthUser ID as well.

Can this be done currently?

The implementation in the MainDemo seems to rely on:

  TNotifySQLEvent = function(Sender: TSQLRestServer; Event: TSQLEvent;
    aTable: TSQLRecordClass; aID: integer): boolean of object;

Would this also need the TSQLAuthUser record ID passed to implement this?

Offline

#2 2013-08-02 21:38:48

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: Audit trail

Yes

As soon as you use the crud methods on server side

Online

Board footer

Powered by FluxBB