13.07.2015 Views

Database.com REST API Developer's Guide - Salesforce.com

Database.com REST API Developer's Guide - Salesforce.com

Database.com REST API Developer's Guide - Salesforce.com

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ReferenceSObject User PasswordFormatsIn <strong>API</strong> version 29.0 and greater, to evaluate the default values for an action, usevXX.X/sobjects/object/quickActions/{action name}/defaultValues/{context id}This returns the default values specific to the {context id} object.JSON, XMLHTTP MethodHEAD, GET, POSTAuthenticationAuthorization: Bearer tokenParametersNone requiredConsiderations• The resources return all actions—both global and standard—in addition to the ones requested.SObject User PasswordSet, reset, or get information about a user password. This resource is available in <strong>REST</strong> <strong>API</strong> version 24.0 and later.URIFormats/vXX.X/sobjects/User/user ID/passwordJSON, XMLHTTP MethodHEAD, GET, POST, DELETEAuthenticationAuthorization: Bearer tokenParametersExampleNone requiredFor examples of getting password information, setting a password, and resetting a password, see Manage User Passwordson page 46.Considerations• If the session does not have permission to access the user information, an INSUFFICIENT_ACCESS error will bereturned.• When using this resource to set a new password, the new password must conform to the password policies for theorganization, otherwise you will get an INVALID_NEW_PASSWORD error response.• You can only set one password per request.65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!