cancel
Showing results for 
Search instead for 
Did you mean: 

User that makes deploy

asheara
Champ in-the-making
Champ in-the-making
Hi All,

I have a script developed in Java that is being executed every time there's a deploy of content, to format html files and other utilities. I register in a log what files are deployed every time.
Now, I need to know what user did deploy, not what user is configured in deployment receiver (admin in my case), I would like to know what user had make onclick on the "deploy" button and what version is deploying actually.
¿Is there anyway to get this information from Alfresco?

I have been looking around the object org.alfresco.deployment.impl.server.Deployment but I don't see any method that could give me this information.
I have read about this class AuthenticationUtil.getFullyAuthenticatedUser(); but I can't find what artifact do I have to add to my pom to work with this class and I don't if it really work.

¿Any idea or help?

Alfresco 3.4d version over Linux machine.

Thank you in advance!
1 REPLY 1

mrogers
Star Contributor
Star Contributor
You can probably get the user on the authoring side.   From memory its probably already in the deployment report.

It's not available on the target side though.