NAME
API::Plesk::Accounts - extension module for the management of user accounts.
SYNOPSIS
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
);
DESCRIPTION
The module provides full support operations with accounts.
EXPORT
None by default.
METHODS
- create(%params)
-
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.
- modify(%params)
-
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(%params)
-
Delete accounts.
Params: limits, permissions, new_data -- hashref`s with corresponding blocks.
And also one of the following options:
all => 1 - all accounts. login => 'name' - account with a given login. id => 123 - account with a given id
- get(%params)
-
Get account detailf 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
SEE ALSO
Blank.
AUTHOR
Odintsov Pavel <nrg[at]cpan.org>
COPYRIGHT AND LICENSE
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.