Forum Discussion
Marcel_Kuiper_5
Nimbostratus
Jun 22, 2007Adding users on 9.1.2
Hi,
Since we're changing account names I need to create a lot of users on all of our BigIP systems. However my perl scripting is not succesful so far which has probably to do with the way I ...
Marcel_Kuiper_5
Nimbostratus
Jun 22, 2007Ah, found some sample code on this forum, but I still can't get it to work. Code now looks like:
$userid = {name => "tester1", full_name => "Marcel Kuiper"};
@userinfo = (
{
user => $userid,
role => "USER_ROLE_ADMINISTRATOR",
password => "*LCK*",
home_directory => "/home/tester1",
login_shell => "/bin/bash",
user_id => 0,
group_id => 500
}
);
my $soapResponse = $soap->create_user(
SOAP::Data->name(users => [@userinfo])->type("UserInfo[]")
);
if ( $soapResponse->fault )
{
print $soapResponse->faultcode, " ", $soapResponse->faultstring, "\n";
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects