code: func (client *Client) CreateUser(user string, password string, origin string) (User, error) {
  	userRequest := newUserRequestBody{
  		Username: user,
  		Password: password,
  		Origin:   origin,
  		Name: userName{
  			FamilyName: user,
  			GivenName:  user,
  		},
  		Emails: []email{
  			{
  				Value:   user,
  				Primary: true,
  			},
  		},
  	}
  
  	bodyBytes, err := json.Marshal(userRequest)
  	if err != nil {
  		return User{}, err
  	}
  
  	request, err := client.newRequest(requestOptions{
  		RequestName: internal.PostUserRequest,
  		Header: http.Header{
  			"Content-Type": {"application/json"},
  		},
  		Body: bytes.NewBuffer(bodyBytes),
  	})
  	if err != nil {
  		return User{}, err
  	}
  
  	var userResponse newUserResponse
  	response := Response{
  		Result: &userResponse,
  	}
  
  	err = client.connection.Make(request, &response)
  	if err != nil {
  		return User{}, err
  	}
  
  	return User(userResponse), nil
  }
docs: // CreateUser creates a new UAA user account with the provided password.