SFMC TIP – Escalate user rights context

in  ACC Tips & Tricks, Adobe Campaign, Marketing Automation
1 minute read

Normally web apps run under the web app user (which is anonymous and has very little to zero rights by default) and for certain operations you would need to require to grant additional access, or even grant full admin. To grant full admin for web app user is not solution to go with.

Instead I have found that you can temporary escalate any user rights and perform any admin operation that is required and then deescalate back.

The magic function I am talkin about is called logonEscalation you can find mentions of it in the JSSP pages. I have found that the same function works in web apps (they are subset of JSSP ) and what is really surprising it works as well inside the workflow JavaScript activity.

//escalate right to user
var  logonEscalationCtx = logonEscalation("admin");


//do you admin  stuff with current user


//return back to your actual user 
logonWithContext(logonEscalationCtx);
in  ACC Tips & Tricks, Adobe Campaign, Marketing Automation

AC tip #1 – export connection strings

less than a minute read

Whether you change your laptop or want to save actual configuration for your colleagues. You can easily achieve that by taking all connection strings as XML. ims – connection over adobe id SSO Also similar approach is to directly change the connection string file nlclient_cnx.xml that is located under your local AppData folder. To quickly […]

Continue reading