How to create user profiles in Adobe Campaign via Javascript or through SOAP API ? | Community
Skip to main content
May 5, 2021

How to create user profiles in Adobe Campaign via Javascript or through SOAP API ?

  • May 5, 2021
  • 1 reply
  • 1842 views

We have a use case to automate the User Profile creation when the new user is onboarded on the Adobe Campaign ( Classic V7,8984). Currently this process is manual.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

CedricRey
Level 5
May 5, 2021

Hello,

 

If you are talking about the creation of Campaign  operator, you could use the JS bellow :

 

var operator = NLWS.xtkOperator.create({
 operator : {
  email : 'email@domain.net',
  label : 'auto generated operator'
operatorGroup : {
group : {
type : 2
name : 'local'
}
} } }; operator.save();
NLWS.xtkOperator.ResetPassword( operator.name, 'newPassword') //of course fill a strong and random password here
logInfo('New Operator created : ' + operator.name )

The operatorGroup is added because at least 1 right is needed to connect to Campaign. But you can change and configure what you need (and add other rights, but using Array [] instead of simple object {})

Cedric

 

May 5, 2021

Thanks CedricRey.

 

Solution works.