Sha256: 8109279ea29d0db079f7af74f7ead703b11d378e1430048b5561299bf16cd609

Contents?: true

Size: 708 Bytes

Versions: 1

Compression:

Stored size: 708 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Creates a user for an account that already exists
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createUser.html]
        def create_user(username, email, firstname, lastname, password, account, options={})
          options.merge!(
            'command' => 'createUser', 
            'username' => username, 
            'email' => email, 
            'firstname' => firstname, 
            'lastname' => lastname, 
            'password' => password, 
            'account' => account  
          )
          request(options)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-1.23.0 lib/fog/cloudstack/requests/compute/create_user.rb