Hello Creators,
we can get the modified date and time from Word or Excel file .
As same can we get the name of the person who modified by the document??
Regards,
Srenivasan Kannan
Hello Creators,
we can get the modified date and time from Word or Excel file .
As same can we get the name of the person who modified by the document??
Regards,
Srenivasan Kannan
Hi just sharing you can use macro for these if you want to get that value. @SrenivasanKanna
cheers
Happy learning
If you have the filepath to the file in a string, then you can use this code in an assign activity.
System.IO.File.GetAccessControl(filePath).GetOwner(GetType(System.Security.Principal.NTAccount)).ToString.Split("\"c).Last
Reason I used a split and Last was because it gives you the user with the domain.
Regards.
@ClaytonM
I am grateful for your help.I appreciate your time!
the solution of *** System.IO.File.GetAccessControl(filePath).GetOwner(GetType(System.Security.Principal.NTAccount)).ToString
Its providing owner of the person name . Can we get the Last modified by person name.@Divyashreem Can you help me on this?
Regards,
Srenivasan Kannan
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.