Component:CloudUserInfo

From Resonite Wiki
Revision as of 16:22, 14 February 2024 by 989onan (talk | contribs) (989onan moved page CloudUserInfo (Component) to Component:CloudUserInfo: Misspelled title: wrong namespace)

The CloudUserInfo component can be used to retrieve information about a user from the Resonite cloud, such as their name or profile picture, based on their user ID.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
UserId String The ID of the user that this component should display information about
IsLoaded Bool Whether or not the given user's information has been loaded
Username String The name of the given user
RegistrationDate DateTime The time that the given user registered their account
OriginalRegistrationDate DateTime The time that the given user registered their account which they migrated from.
IconURL Uri A URL, pointing to the user's profile picture
IsContact Bool Whether or not this user is one of your contacts (only works in userspace)
_loadedUserId String The user ID corresponding to the information this component is currently outputting. This is an internal value and shouldn't be edited manually.

Usage

To get info about a user, type their user ID into the UserId field of the component.

You can get their user ID through multiple ways, for example using the Protoflux node or Resonite's cloud API.

Examples

Any item that populates an image with your profile icon and the default Profile Facet that is on your home dash tab with a new account.

Related Components