Get git-username from custom operation

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
Patrik
Posts: 280
Joined: Thu Nov 28, 2013 9:32 am
Location: Hamburg/Germany
Contact:

Get git-username from custom operation

Post by Patrik »

Hi,

is there a way to get the current git user name from within my implementation of AuthorOperationWithResult?

Thanks and regards,
Patrik
cristi_talau
Posts: 517
Joined: Thu Sep 04, 2014 4:22 pm

Re: Get git-username from custom operation

Post by cristi_talau »

Hello,

The name of the Git user is also set as the "reviewer" name that is used for comments and change tracking. This name can be obtained by using

Code: Select all

authorDocumentModel.getReviewController().getReviewerAuthorName()
Best,
Cristian
Patrik
Posts: 280
Joined: Thu Nov 28, 2013 9:32 am
Location: Hamburg/Germany
Contact:

Re: Get git-username from custom operation

Post by Patrik »

Wow, that was easy - almost boring... ;)

Thanks a lot,
Patrik
Post Reply