rest - Salesforce: Any API for getting user information? -
i trying find way information salesforce enterprise user auth_token. want find username, email address , role(admin/user) auth-token.
something on lines of
curl -xget 'https://na1.salesforce.com/userinfo' -h "authorization: bearter token" which give me required information
i have been looking @ rest api , metadata api did not find anything. preferably want information rest api , not programmatic api. help?
use /sobjects/ call on rest api. instance, /services/data/v27.0/sobjects/user/[some user id] or /services/data/v27.0/sobjects/user/ list users.
Comments
Post a Comment