I have a Rebex FileServer
with an SFTP binding and an implementation of a ReadWriteFileSystemProvider
. When a user performs certain operations on the SFTP server (file create/modify/delete/etc), I need to process metadata about that operation, which must include information about the user.
I cannot find any way to extract the user from the ReadWriteFileSystemProvider
or from the FileSystemNotifier
events, though. I don't particularly care which one gives me the user (I can make what I need to do work with either one). I'm open to alternatives if there's another path that gets me what I need.
How can I get the FileServerUser
from a ReadWriteFileSystemProvider
method or a FileSystemNotifier
event?