tridion-sites-extensions-api-docs

Home > @tridion-sites/open-api-client > UserProfileService

UserProfileService class

Signature:

export declare class UserProfileService

Methods

Method Modifiers Description
getOwnUserProfile() static Beta version. Get the user profile of the currently logged-in user. This operation returns an instance of ‘UserProfile’ type.
getUserAvatar({ escapedUserId, }) static Beta version. Gets the avatar (profile picture) of a user.
getUserProfile({ escapedUserId, }) static Beta version. Gets the user profile of a user. This operation returns an instance of ‘UserProfile’ type.
updateUserProfile({ escapedUserId, userProfile, }) static <p>Beta version. Updates certain properties in a user’s profile. This operation returns an instance of ‘UserProfile’ type.</p><p>Only ‘Preferences.Favorites’ property can be updated through this operation.</p>