code: def add_user(self, username, email, **kwargs):
          
          api = self._get_api(iam.AccountAdminApi)
          kwargs.update({'username': username, 'email': email})
          user = User._create_request_map(kwargs)
          body = iam.UserUpdateReq(**user)
          return User(api.create_user(body))
docs: Create a new user with provided details.
  
          Add user example:
  
          .. code-block:: python
  
              account_management_api = AccountManagementAPI()
              # Add user
              user = {
                  "username": "test_user",
                  "email": "test@gmail.com",
                  "phone_number": "0123456789"
              }
              new_user = account_management_api.add_user(**user)
  
          :param str username: The unique username of the user (Required)
          :param str email: The unique email of the user (Required)
          :param str full_name: The full name of the user
          :param list groups: List of group IDs (`str`) which this user belongs to
          :param str password: The password string of the user
          :param str phone_number: Phone number of the user
          :param bool terms_accepted: 'General Terms & Conditions' have been accepted
          :param bool marketing_accepted: Marketing Information opt-in
          :returns: the new user object
          :rtype: User