NAME

API::Plesk::Customer - Managing user (e.g. auxiliary) accounts.

SYNOPSIS

$api = API::Plesk->new(...);
$response = $api->user->add(..);
$response = $api->user->get(..);
$response = $api->user->set(..);
$response = $api->user->del(..);

DESCRIPTION

Module manage user (e.g. auxiliary) accounts.

Filters used by get,del etc. are as follows: %filter => { guid => xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # or owner-guid => xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # or external-id => xx # or owner-external-id => xx }

METHODS

add(%params)

Method adds users to Plesk Panel.

%params = (
    # required
    gen_info => {
        login => 'mike', # required
        passwd => '12345', # required
        name => 'Mike', # required
        owner-guid => # one of this or
        owner-external-id => # this required
        ...    
    }
    # required
    roles => {
        name => 'WebMaster',
        ...
);
get(%params)

Method gets user data.

%params = ( %filter );
set(%params)

Method sets user data.

%params = (
    filter   => {...},
    gen_info => {...}
);
del(%params)

Method deletes user from Plesk Panel.

%params = ( %filter );

AUTHOR

Ivan Sokolov <lt>ivsokolov@cpan.org<gt>