How it is possible to get the IP address the user who execute an action in Laserfiche?
Question
Question
Answers
By default, Audit Trail will display the host name of the computer the action was performed from. However, if you apply the workaround from KB 1012934, then the consequence is that Audit Trail reporting will show the IP address instead of the host name.
If you don't want this to be something permanent, then you could just manually ping the host names you see in the audit reports.
If it's in the audit trail, technically, it's in a DB, so it wouldn't seem unreasonable to think that you can get that data. However, I do not attempt such things myself as it's usually ill advised to try accessing audit trail data.
Replies
Is it possible from workflow to get this ip address?
If it's in the audit trail, technically, it's in a DB, so it wouldn't seem unreasonable to think that you can get that data. However, I do not attempt such things myself as it's usually ill advised to try accessing audit trail data.
If this is from Workflow, then the data for the event won't be loaded into the audit database at the time the event is processed. Audit Trail imports new events no more than once every 5 minutes, while Workflow responds to notifications almost immediately.
A scripting activity could have access to all of the data that shows up in the "All Sessions" node of the Administration Console, which includes the client host.
What are you going to do with the IP address once you have it? If you explain the big picture maybe we can suggest a full solution.