Adobe Connect User Community
Menu

#1 2009-12-16 11:55:05

**_mtodaro_**

Unable to log in to new users created via API

I have an issue involving a mass import function I was asked to create for Connect 7. Long story short, my program takes a CSV file and sends up the new users to the Connect box one row at a time. They arrive in Connect with all their information correct, but I can't log into them. Here's the url format the program is using (I've verified this by debugging and watching the URL get built):

http://connectbox/api/xml?action=principal-update&first-name=Joe&last-name=Blow&login=loginname&password=passwordvalue&type=user&send-email=false&has-children=0&session=sessioncookie

The accounts however do not work unless someone goes in and sets a temporary password manually via the interface. Any suggestions on why this would be so? I have verified that the password we've associated with the account in the CSV file is being sent up via the URL.

Offline

#2 2009-12-16 12:20:43

**_jasonheffner_**

Re: Unable to log in to new users created via API

You might want to look over

http://livedocs.adobe.com/en_US/Acrobat … tml#135875

from first glance you are trying to set send-email=false, however it must be true so I would omit it and you shouldn't send a session and you don't send an email address at all. It appears you are using email address as the login? and if so you want to make sure you set this as the login in your login code or change the preference not to use email as login.

We send the following call to create users from a script..

url = "https://" & DomainName & "/api/xml?action=principal-update&first-name=" & FirstName & "&last-name=" & LastName & "&has-children=0&login=" & BreezeLogin & "&email=" & BreezeEmail & "&type=user&password=" & BreezePassword

we pass the session in the xml header request.

I'm guessing since you aren't setting the email address it's possible the system can't find the account until you manually go in and set the password and other attributes for the account?

Offline

#3 2009-12-16 12:40:01

**_mtodaro_**

Re: Unable to log in to new users created via API

That appears to be the problem. Even if we have accounts that have no email address, Connect freaks if I try to add them without specifying an email address. It doesn't throw an error, the accounts simply do not work unless their passwords are reset. Thank you.

Offline

Board footer