Forum Discussion
Anthony_Pineda
Nimbostratus
Aug 16, 2016Problem creating username using python iControl...
Can someone please check what I may be doing wrong below?
>>> b.Management.UserManagement.create_user([{'user': [{'name': 'user11', 'full_name': 'user11'}]},{'role': 0}, {'password': 'abcd1234'}])...
Anthony_Pineda
Nimbostratus
Aug 17, 2016I was able to make the following command work...
>>> b = bigsuds.BIGIP(hostname=mgmtipltm,username='admin',password='default')
>>> u = b.Managment.UserManagement
>>> u.create_user_3([{'user':{'name':'user11','full_name':'user11'},
... 'password':{'is_encrypted':0,'password':'abcd1234'},
... 'permissions':[{'role':'USER_ROLE_ADMINISTRATOR','partition':'[All]'}],
... 'login_shell':'/bin/bash'}])
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