Saving Data

Save User Email

Function To allow a user to change his/her email for their account. This is their account email and does not modify their ticket/messaging system email
CommandCMD_API_CHANGE_INFO
MethodPOST
Success ReturnsLocation with the users stats screen: CMD_USER_STATS
Failure ReturnsText
Form Values:
NameValue
evalue A valid email address
domain Any domain in the users account. Its only purpose it to provide a return link to that domain's stats page
email Save. Used to determine what value is being saved. With email being passed, DirectAdmin will know its supposed to be saving an email

Save User Email for Ticket/Messaging system

FunctionTo allow a user to change his/her email for the message/ticket system. This email address is the one that will be used when tickets or messages are sent back and forth
CommandCMD_API_TICKET
MethodPOST
Success ReturnsLocation of the messaging system: CMD_TICKET
Failure ReturnsText
Form Values:
Name Value
email A valid email address
ON yes or no this is a checkbox to tell the ticket system if it should send an email out for each message.
save Save. Button for the form (not actually required)

Modify User Settings

FunctionTo allow a reseller to update the settings of one of his or her users
CommandCMD_API_MODIFY_USER
MethodPOST
Success ReturnsLocation: CMD_USER_SHOW
Failure ReturnsText
Form Values:
Name Value
actioncustomize
user the username of the User to be modified
bandwidth Amount of bandwidth User will be allowed to use. Number, in Megabytes
ubandwidth ON or OFF. If ON, bandwidth is ignored and no limit is set
quota Amount of disk space User will be allowed to use. Number, in Megabytes
uquota ON or OFF. If ON, quota is ignored and no limit is set
vdomains Number of domains the User will be allowed to create
uvdomains ON or OFF. If ON, vdomains is ignored and no limit is set
nsubdomains Number of subdomains the User will be allowed to create
unsubdomains ON or OFF. If ON, nsubdomains is ignored and no limit is set
nemails Number of pop accounts the User will be allowed to create
unemailsON or OFF Unlimited option for nemails
nemailf Number of forwarders the User will be allowed to create
unemailfON or OFF Unlimited option for nemailf
nemailmlNumber of mailing lists the User will be allowed to create
unemailmlON or OFF Unlimited option for nemailml
nemailrNumber of autoresponders the User will be allowed to create
unemailr ON or OFF Unlimited option for nemailr
mysql Number of MySQL databases the User will be allowed to create
umysql ON or OFF Unlimited option for mysql
domainptrNumber of domain pointers the User will be allowed to create
udomainptr ON or OFF Unlimited option for domainptr
ftp Number of ftp accounts the User will be allowed to create
uftp ON or OFF Unlimited option for ftp
aftp ON or OFF If ON, the User will be able to have anonymous ftp accounts.
cgi ON or OFF If ON, the User will have the ability to run cgi scripts in their cgi-bin.
php ON or OFF If ON, the User will have the ability to run php scripts.
spam ON or OFF If ON, the User will have the ability to turn on spamassassin.
cron ON or OFF If ON, the User will have the ability to run cron jobs
ssl ON or OFF If ON, the User will have the ability to access their websites through secure https://.
sysinfo ON or OFF If ON, the User will have the ability to view the system information page.
ssh ON or OFF If ON, the User will have an ssh account.
dnscontrol ON or OFF If ON, the User will be able to modify his/her dns records.
skin Skin name that the user will use. Selected from the Resellers list of skins. If the skin doesn't exist or is invalid, it will not be changed
ns1Name server 1 that the user will use. Will remove the old one and replace it with this one
ns2 Name server 2 that the user will use. Will remove the old one and replace it with this one
 
commands/save.txt · Last modified: 2010/03/01 22:53 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki The proper online casino games run just by the most trusted and respected application suppliers.