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
Mention other useful documentation such as the documentation of related modules or operating system documentation (such as man pages in UNIX), or any relevant external documentation such as RFCs or standards.
If you have a mailing list set up for your module, mention it here.
If you have a web site set up for your module, mention it here.
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.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 363:
You forgot a '=back' before '=head1'