function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
raj345raj345 

UserInfo Salesforce

How do i get id of the user with Rest API?

Jia HuJia Hu

query

/services/data/v24.0/chatter/users/me/status

you will get the parentId, that is the Id of current user

 

doc:

http://www.salesforce.com/us/developer/docs/chatterapi/Content/connect_resources_users_UserStatus.htm