The following are methods for UserProfiles. All methods are static.
35.0
No
public static Void deletePhoto(String communityId, String userId)
Type: Void
35.0
35.0
No
public static ConnectApi.Photo getPhoto(String communityId, String userId)
Type: ConnectApi.Photo
29.0
Yes
public static ConnectApi.UserProfile getUserProfile(String communityId, String userId)
Type: ConnectApi.UserProfile
35.0
No
public static ConnectApi.Photo setPhoto(String communityId, String userId, String fileId, Integer versionNumber)
Type: ConnectApi.Photo
Photos are processed asynchronously and may not be visible right away.
35.0
No
public static ConnectApi.Photo setPhoto(String communityId, String userId, ConnectApi.BinaryInput fileUpload)
Type: ConnectApi.Photo
Photos are processed asynchronously and may not be visible right away.
35.0
No
public static ConnectApi.Photo setPhotoWithAttributes(String communityId, String userId, ConnectApi.PhotoInput photo)
Type: ConnectApi.Photo
Photos are processed asynchronously and may not be visible right away.
35.0
No
public static ConnectApi.Photo setPhotoWithAttributes(String communityId, String userId, ConnectApi.PhotoInput photo, ConnectApi.BinaryInput fileUpload)
Type: ConnectApi.Photo
Photos are processed asynchronously and may not be visible right away.