NAME

Weblogic::UserAdmin - Administration Functions For Weblogic Automated

SYNOPSIS

  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});

DESCRIPTION

  my $Weblogic = Weblogic::UserAdmin->new({
				console=>"http://$server", 
				port => $port,
				username => "system",
				password => "leper",
			});

    Create and login to server object specifying host port system username 
    and password. Returns Weblogic::UserAdmin object.

  $Weblogic->user_add({user=>$user, password=>$userpassword});

    Add user specifying username and password.

  $Weblogic->user_add_group({group=>$groupname, user=>$usergroup})
  
    Add user to specified group.
    
  $Weblogic->user_del({user=>$user})
  
    Delete user. USer is automagically removed from group.
    
  $Weblogic->user_add_group({user=>$user, group=>$groupname})
  
    Add the specified user to the specified group.
    
  my @users = $Weblogic->users();
  
    Return an array of all usernames from the server;
  

AUTHOR

David Peters
CPAN ID: DAVIDP
David.Peters@EssentialEnergy.com.au

COPYRIGHT

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.

SEE ALSO

perl(1).