[Building Sakai] org.sakaiproject.user.api.UserLockedException

Kusnetz, Jeremy JKusnetz at APUS.EDU
Fri Jul 30 10:02:11 PDT 2010


I am using the SakaiScript webservice to create and modify users.

 

I'm using the addNewUser service to create a new user, and the
changeUserInfo service to modify user data.  When I call the
changeUserInfo service the result comes back as
"org.sakaiproject.user.api.UserLockedException"

 

I'm doing this in perl, here is  a bit of a code snippet I'm using:

 

                        my @params = (

 
SOAP::Data->type('string')->name('sessionid')->value($sessionid),

 
SOAP::Data->type('string')->name('eid')->value($eid),

 
SOAP::Data->type('string')->name('firstname')->value($firstname),

 
SOAP::Data->type('string')->name('lastname')->value($lastname),

 
SOAP::Data->type('string')->name('email')->value($email),

 
SOAP::Data->type('string')->name('type')->value($type),

 
SOAP::Data->type('string')->name('password')->value($password)

                        );

                        $soap->autotype(0);

                        my $result = $soap->changeUserInfo(@params);

 

Jeremy Kusnetz | Sr. Systems Engineer

 

American Public University System 
American Military University  |  American Public University
661 S George Street, Charles Town, WV 25414 
T 304-885-5333 | M 703-967-5212 |  jkusnetz at apus.edu
<mailto:jellis at apus.edu>  | www.apus.edu <http://www.apus.edu> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100730/54441951/attachment.html 


More information about the sakai-dev mailing list