Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require "rubygems"
- require "google_apps_api"
- include GoogleAppsApi
- credentials = { :domain => "ocelot.cul.columbia.edu", :admin_user => "_sc_api", :admin_password => "scrubbed" }
- p_api = Provisioning::Api.new(credentials)
- puts p_api.retrieve_user("jws2135")
- puts p_api.retrieve_user("jws2135", :return_format => :xml)
- puts p_api.retrieve_user("jws2135", :debug => true)
Add Comment
Please, Sign In to add comment