Forum Discussion
Rich_W__77692
Oct 23, 2012Cirrus
Adding a user with Ruby & iControl
Hello.
I've been knocking my brains out trying to get the Ruby iControl gem to add a user to a device. The complex type on this one is throwing me for a loop. If I can get the simple code down, ...
George_Watkins_
Nov 02, 2012Historic F5 Account
Rich,
Here you go:
bigip['Management.UserManagement'].create_user_3([{'user' => {'name' => 'Guest', 'full_name' => 'Guest User'}, 'password' => {'is_encrypted' => 'false', 'password' => 'abcd'}, 'permissions' => [ {'role' => 'USER_ROLE_GUEST', 'partition' => 'Common'} ], 'login_shell' => '/bin/false'}])
Best regards,
George
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