ACC Tips & Tricks, Adobe Campaign, Marketing Automation

Escalate any user rights to admin

Escalate any user rights to admin

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);

Oh hi there 👋
I have a FREE e-book for you.

Sign up now to get an in-depth analysis of Adobe and Salesforce Marketing Clouds!

We don’t spam! Read our privacy policy for more info.

#JavaScript #programming #webapp
Marcel Szimonisz
Marcel Szimonisz
MarTech consultant As a marketing automation consultant, I specialize in problem-solving, process automation, and driving innovation for clients' marketing platforms.

I hold certifications in Adobe Campaign v6 (3x certified) and Salesforce Marketing Cloud (5x certified), as well as 1x Salesforce Associate certified.

Moreover, I serve as a community advisor for Adobe Campaign, providing expert insights and guidance.

Beyond my professional pursuits, I explore various programming languages, CMSs, and frameworks, enhancing my technical expertise and staying at the forefront of industry advancements.
Take a look at our subscription offering in case you are looking for a Marketing Automation Consultant.

Leave a comment

Your email address will not be published. Required fields are marked *

Similar posts that you may find useful

Email marketing terminology
Marketing Automation

Email marketing (automation) basics

4 minutes read

Email marketing automation has become a crucial aspect of every campaign manager’s day-to-day work. Whether you’re using any email marketing automation platform, understanding the fundamentals is essential. This guide covers the basics that are shared across all platforms, ensuring you have a solid foundation in email marketing automation. Multichannel interaction Reach your recipients through various […]

Continue reading
Adobe Campaign post
Adobe Campaign, Marketing Automation

Add action button to the form view

2 minutes read

Have you ever wondered how to add new button with custom functionality to form view. I will show you step by step how to do it. In my example I will create signatures used in email campaigns, which will be dependent on the recipient’s profile information such as language, country etc. The way how I […]

Continue reading
A futuristic digital artwork depicting a technician troubleshooting automated machines. The technician, adorned with a high-tech tool belt and a headset featuring a data-displaying visor, stands at the center of a dimly-lit tech facility. Around them are holographic screens presenting system diagnostics, error messages, and programming code. The background is bustling with a variety of machines and robots, some exhibiting malfunctions with sparks and error signals. The scene is illuminated by cool blues and greys, punctuated with orange and red highlights to emphasize the technical issues. Neon lights and exposed wiring add to the tech-savvy ambiance.
Automation studio, Marketing Automation, Salesforce Marketing Cloud, SFMC Tips & Tricks

Troubleshooting issues in automation studio

2 minutes read

Another series of troubleshooting automations in Salesforce Marketing Cloud. I will regurarly add any new additions that I have already resolved and spend great deal of time and life energy. So hope it will help resolve someones issues. I will try to add, throughout my daily life as an SFMC consultant, all the errors that […]

Continue reading
How to leverage queryDef in Adobe Campaign
Adobe Campaign, Marketing Automation

How to Leverage queryDef in Adobe Campaign

7 minutes read

When it comes to programatically selecting records from the database in Adobe Campaign Classic, queryDef emerges as a crucial tool. As a static SOAP method extensively employed in JavaScript, particularly within workflows or web apps, queryDef offers unparalleled capabilities. However, what many may not realize is that there are three distinct implementations of this function. […]

Continue reading
Adobe Campaign Classic tips
ACC Tips & Tricks, Adobe Campaign, Marketing Automation

Proof Email Template for Multiple Variants

1 minute read

Imagine having to proof all the possible variants of a delivery template, where there could be numerous end variations. How can we effectively proof such an email template? There is a simple yet powerful workaround for proofing all the variants, and here’s how to achieve it: Moreover, to differentiate between variations, you can include your […]

Continue reading