Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

surajsharma
Level 1
Level 1

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.

2 Replies
CedricRey
Level 5
Level 5

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