Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
You can always impersonate the user you want something like this could work:
PrincipalInfo.CurrentPrincipal = new GenericPrincipal( new GenericIdentity("the_user_you_want"), new[] { "Administrators" } );
Let me know how it goes...
David
Hello
I'm doing a custom import script that imports a number of pages by creating them programmatically, and I want to manually set the createdby username.
I have tried setting the property before saving and publishing, I have tried attaching to the various events, but no matter how I try it is allways changed to the username I'm currently logged in as.
Does anyone have a suggestion, or is this not possible?