Weblogic::UserAdmin - Administration Functions For Weblogic 8.1 Automated
use Weblogic::UserAdmin; my $Weblogic = Weblogic::UserAdmin->new({ console=>"http://$server", port => $port, username => "system", password => "leper", }); if($Weblogic->user_exist($user)) { print "User Already Exists\n"; exit 1; }; $Weblogic->user_add({user=>$user, password=>$password});
Create and login to server object specifying host port system username and password. Returns Weblogic::UserAdmin object.
Return an array of all usernames from the server.
Checks if a user exists
Add user specifying username and password.
Lists all groups - returned as an array
Add the specified user to the specified group.
Delete user. USer is automagically removed from group.
David Peters CPAN ID: DAVIDP David.Peters@EssentialEnergy.com.au
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl(1).
To install Weblogic::UserAdmin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Weblogic::UserAdmin
CPAN shell
perl -MCPAN -e shell install Weblogic::UserAdmin
For more information on module installation, please visit the detailed CPAN module installation guide.