-
Can we update profile picture of user on onCreateUser()?
I use ConnectApi to modify picture of User in custom salesforce login (Facebook, Twitter...), like this:
global void updateUser(Id userId, Id portalId, Auth.UserData data){
...
ConnectApi.ChatterUsers.setPhoto(communityId, userId, fileUpload);
...
}Anyone please help.
Log In to reply.
Popular Salesforce Blogs
Salesforce for Manufacturing to Optimize Productivity
The manufacturing sector has witnessed a complete, factory-wide digital makeover. The industries have leveraged technologies like artificial intelligence (AI), robotics, and blockchain. Salesforce for manufacturing…
No Code Salesforce and Xero Integration
For expanding organizations, Xero is an intuitive cloud-based accounting solution. Invoices, paychecks, Financial consensus, Purchasing, Expenses, Bookkeeping, and more are now all manageable by businesses…
Salesforce Commerce Cloud Explained: Pricing, Hosting, Performance, Scalability
Nasdaq forecasts that 95% of purchases will be made online by 2040. Statistics also say that the global e-commerce market is expected to reach $18.89 trillion by 2027, compared to $5…
Popular Salesforce Videos
How to Become a Salesforce Admin | 6-step Guide
Salesforce administrators are the backbone of any company that uses Salesforce. They are responsible for maintaining the Salesforce platform to ensure it meets the needs…
5 Mind-Blowing New Salesforce Marketing Cloud Releases
The Statist worldwide marking survey reports- “Almost 4 billion world population is digitally active, and 2.14 of them are shopping online.” In this entire scenario,…
Salesforce Lightning Events Tutorial I Building Component Events (Single Component)
This Salesforce Lightning Events Tutorial will make you learn how to register an event in Salesforce Lightning and handle that event in the source component…