Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


sschroed
2011-11-03T09:46:55Z
Hi, i tried to find a solution to log for moved folders.
Currently i made 2 Jobs with eventtrigger:

1) File Event watches for changed,deleted,renamed folders
2) File Event watches for created folders

Both write to a logfile:
{TRIGGER(Active,LastTrigger,File.Result.ChangeType)} {DATEFORMAT(M/d/yyyy h:mm tt)} {TRIGGER(Active,LastTrigger,File.Result.FullPath)}


Deleted 10/20/2011 4:20 PM \\server\share$\temp\new
Created 10/20/2011 4:20 PM \\server\share$\temp\new2\new



So far it is working fine, but i would like to insert the jobvariable for the username.

Is this possible to locate the user who made this change? I would like to have this view:

Peter Deleted 10/20/2011 4:20 PM \\server\share$\temp\new
Peter Created 10/20/2011 4:20 PM \\server\share$\temp\new2\new


Thanks and Regards, Sebastian
Sponsor
Forum information
Support
2011-11-03T09:54:06Z
The Windows system does not contain info about which user who changed a specific file.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
sschroed
2011-11-03T09:57:12Z
Thanks for the quick response, but is a third event possible to check the permissions of the new created folder? could we get this ownername and add this to logfile
Support
2011-11-03T10:00:46Z
We are not capturing this right now. But you could use the .NET Code Task and use this code to retrieve it:

http://stackoverflow.com...ng-file-owner-in-c-sharp 

Create a method that inputs the full path and outputs the name and you can use the output of that Task in the file.

I am moving this topic to Feature requests.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top