Automated: update component fields |
Automated: update Categories |
||
Line 25: | Line 25: | ||
== Related Components == | == Related Components == | ||
[[Category:Components| | [[Category:Components:Cloud:Indicators{{#translation:}}|Cloud User Info]] | ||
[[Category:Components:Cloud | [[Category:Components{{#translation:}}|Cloud User Info]] |
Latest revision as of 20:24, 3 March 2024
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
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
|
raw output of 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.