code: def create_user(self, uid, name, password, channel=None, callback=False,
                      link_auth=True, ipmi_msg=True,
                      privilege_level='user'):
          
          # current user might be trying to update.. dont disable
          # set_user_password(uid, password, mode='disable')
          if channel is None:
              channel = self.get_network_channel()
          self.set_user_name(uid, name)
          self.set_user_password(uid, password=password)
          self.set_user_password(uid, mode='enable', password=password)
          self.set_user_access(uid, channel, callback=callback,
                               link_auth=link_auth, ipmi_msg=ipmi_msg,
                               privilege_level=privilege_level)
          return True
docs: create/ensure a user is created with provided settings (helper)
  
          :param privilege_level:
              User Privilege Limit. (Determines the maximum privilege level that
              the user is allowed to switch to on the specified channel.)
              * callback
              * user
              * operator
              * administrator
              * proprietary
              * no_access