-
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

Imported for Leads in Salesforce - All You Need To Know
Lead Object in Salesforce To lay it out plainly, in Salesforce, "Leads" are utilized to indicate individuals you wish as clients. Salesforce suggests isolating these…

Creating A Multi-Select Picklist As Checkbox In Salesforce Visualforce Pages
Introduction: Visualforce is a web development framework that enables developers to build sophisticated, custom user interfaces for mobile and desktop apps that can be hosted…

Salesforce Data Loader Guide - Here's All You Need to Know
Data Loader It is a Client Application used for importing and exporting bulk data. Using it we can Insert, Delete, Update, Upsert, and export the…
Popular Salesforce Videos
Creating a Salesforce Lightning App in 12 Minutes
Salesforce is the easiest and quickest way to make quality enterprise apps using clicks instead of code.This video attempts to demonstrate just how quick and…
Process Builder - A Tool every Salesforce Developer must know
Salesforce Process Builder - A Tool every Salesforce developer must know. Learn how to master Process builder Salesforce to automate your business processes. In this…
Salesforce Payments - Everything You Need To Know
Learn more about Salesforce Payments and get the checklist - "10 Ways To Make Salesforce Payments Safe, Easy And Profitable" In this checklist, you'll learn…