-
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
How Does A Salesforce Consultant Shape Effective Business Strategy?
Salesforce has become one of the most popular business software in recent times. Using the same, several businesses have been effectively able to manage their…
4 Ways to Achieve Heroku-Salesforce Integration
Heroku provides a cloud application platform to create, run, and work with your cloud-based application. Heroku supports several programming languages like JAVA, Python, and PHP.…
Salesforce Financial Services Cloud for Mortgage is Key to Simplify Lending Process
Most borrowers find applying to the mortgage application process a time-consuming and tedious task with conventional financial institutions & lenders (who still use old manual…
Popular Salesforce Videos
Add Intelligence to Any Salesforce App with Einstein Discovery
Bring intelligence in the context on any Force.com app thanks to the power of Einstein Data Discovery. Any Salesforce Admin or Developer can add in…
What are Fields in Salesforce? | How to create a Field in Salesforce?
In this video, Shrey is not only teaching but also demonstrating to you "What are Fields in Salesforce?" You will be learning: What are the…
Can I Get a Job by Just Learning Salesforce Admin?
In this Video Shrey covered the following questions: 1. Can I get a job by just learning Salesforce Admin? 2. Can you start a career…