The following are methods for UserProfiles. All methods are static.
35.0
No
public static Void deletePhoto(String communityId, String userId)
Type: Void
36.0
No
public static ConnectApi.BannerPhoto getBannerPhoto(String communityId, String userId)
Type: ConnectApi.BannerPhoto
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
36.0
No
public static ConnectApi.BannerPhoto setBannerPhoto(String communityId, String userId, String fileId, Integer versionNumber)
Type: ConnectApi.BannerPhoto
Photos are processed asynchronously and may not be visible right away.
36.0
No
public static ConnectApi.BannerPhoto setBannerPhoto(String communityId, String userId, ConnectApi.BinaryInput fileUpload)
Type: ConnectApi.BannerPhoto
Photos are processed asynchronously and may not be visible right away.
36.0
No
public static ConnectApi.BannerPhoto setBannerPhotoWithAttributes(String communityId, String userId, ConnectApi.BannerPhotoInput bannerPhoto)
Type: ConnectApi.BannerPhoto
Photos are processed asynchronously and may not be visible right away.
36.0
No
public static ConnectApi.BannerPhoto setBannerPhotoWithAttributes(String communityId, String userId, ConnectApi.BannerPhotoInput bannerPhoto, ConnectApi.BinaryInput fileUpload)
Type: ConnectApi.BannerPhoto
Photos are processed asynchronously and may not be visible right away.
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.