API::Plesk::Accounts - extension module for the management of user accounts.
Directly not used, calls via API::Plesk.
use API::Plesk; my $plesk_client = API::Plesk->new(%params); # See documentations for API::Plesk my $res1 = $plesk_client->Accounts->get( id => 36341 );
The module provides full support operations with accounts.
None by default.
Creates a user account on the basis of the template.
Params: general_info -- hashref with user data template-name or template-id
Return: response object with created account id in data filed.
Changes the parameters account.
Params: limits, permissions, new_data -- hashref`s with corresponding blocks.
And also one of the following options:
all => 1 - for all accounts. login => 'name' - for a given login. id => 123 - for a given id
Delete accounts.
all => 1 - all accounts. login => 'name' - account with a given login. id => 123 - account with a given id
Get account details from Plesk.
Params:
One of the following options:
all => 1 - for all accounts. login => 'name' - for account with a given login. id => 123 - for account with a given id
Blank.
Odintsov Pavel <nrg[at]cpan.org>
Copyright (C) 2008 by NRG
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install API::Plesk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm API::Plesk
CPAN shell
perl -MCPAN -e shell install API::Plesk
For more information on module installation, please visit the detailed CPAN module installation guide.