Description

This function displays an HTML snippet to manage MySQL® users.

Examples


$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$list_users = $cpanel->api1('Mysql','listusers'); // Call the function.

my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $list_users = $cpliveapi->api1('Mysql','listusers'); # Call the function.

<cpanel Module="Mysql::listusers()">
cpapi1 --user=username Mysql listusers

cptest_dbuser
 <a href="deluser.html?user=cptest_dbuser"><img 
src="/frontend/paper_lantern/images/delete.jpg" border="0" alt="" 
/></a><br />
  cptest_dbuser2
 <a href="deluser.html?user=cptest_dbuser2"><img 
src="/frontend/paper_lantern/images/delete.jpg" border="0" alt="" 
/></a><br />

Parameters

This function does not accept parameters.

Returns

This function displays an HTML-formatted list of database users on the cPanel account.