Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CoreServiceImpersonation
string endpointName = "netTcp_2013";
SessionAwareCoreServiceClient client = new SessionAwareCoreServiceClient(endpointName);
client.Impersonate(System.Web.HttpContext.Current.User.Identity.Name);
// Actions- Publish a page, create Component, etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.