cPanel XMLAPI - unsuspendacct


DESCRIPTION

This function will unsuspend a suspended account.


VARIABLES

INPUT

user
Name of the user to unsuspend.

OUTPUT

unsuspendacct
Account unsuspension container

result
Results container

status (boolean)
Whether or not the operation succeeded. Yes=1, No=0.

statusmsg (string)
Any message related to the result of the operation. Format: statusmsg=``message''


EXAMPLES

Calling this URL in WebHost Manager: /xml-api/unsuspendacct?user=bob

will produce XML similar to:

<unsuspendacct>

<result status=``1'' statusmsg=``Changing shell for bob. Shell changed. Unlocking password for user bob. passwd: Success. Unsuspending email account logins for domain.com .... Done Unsuspending FTP accounts... Updating ftp passwords for bob Ftp password files updated. Ftp vhost passwords synced bob's account is now active Notification => contactemail@domain.com via EMAIL [level => 3] ''/>

</unsuspendacct>


COPYRIGHT

Copyright 2007 cPanel Inc.