Cpanel::WebDisk::passwdwebdisk

This article documents the usage of the Cpanel::WebDisk::passwdwebdisk function in relation to the cPanel interface. This tag can be used inside cPanel pages.


SYNOPSIS

Cpanel::WebDisk::passwdwebdisk


DESCRIPTION

This function will change the password associated with a web disk user.


VARIABLES

INPUT

password (string)
New password for the web disk user. Format: password

login (string)
Username of the web disk user. format: user@domain.com or user@sub.domain.com

OUTPUT

login (string)
Username of the web disk user. format: user@domain.com or user@sub.domain.com


EXAMPLES

<?cp WebDisk::passwdwebdisk('%',login) login=$FORM{'login'},password=$FORM{'password'} ?>

This example will change the password for a web disk user based on a login and password submitted by an html form.


COPYRIGHT

Copyright 2007 cPanel Inc.