If you are using the ContentService to Save and Publish the page, then there is an 'overload' which accepts the 'UserId' of the User you want to record as having published the page:
I know, but the member change some his related information with a Reactjs dashboard that I build with Umbraco Api. So I wish to see this changes into the Audit log.
How to update the username/member in History list when use Api?
Hi,
I wish to reflect the member name into the history list when he update the data by API. How to?
Hi Biagio
If you are using the ContentService to Save and Publish the page, then there is an 'overload' which accepts the 'UserId' of the User you want to record as having published the page:
https://github.com/umbraco/Umbraco-CMS/blob/33adbf41fa1f5c5d0759c70a7116114107addf56/src/Umbraco.Core/Services/ContentService.cs#L1109
if you don't pass that UserId, in then it defaults to be the SuperUserId, which is the Administrator you see in your screenshot
regards Marc
I know, but the member change some his related information with a Reactjs dashboard that I build with Umbraco Api. So I wish to see this changes into the Audit log.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.