User Manager
Workflow
A component responsible for managing and creating the user. It is connected with boot screen, setup screen, lock screen and desktop screen. While you can let users to create their own profile, you can also disable user creating and set apre-made user by enabling ‘Disable User Creating’ using the manager.
Get User Data
If you want to fetch the user data, you can use this component. It doesn’t require any external resources. You can enable ‘Update On Enable’ to fetch the data on enable. It requires User Manager.
API / Scripting
using Michsky.DreamOS; // namespace
public GetUserInfo userInfo;
void YourFunction()
{
userInfo.getInformation = Reference.FirstName; // Reference
userInfo.GetInformation(); // Fetch the data
}
Set User Data
All ‘set’ related methods are managed by the user manager.
API / Scripting
using Michsky.DreamOS; // namespace
public UserManager userManager;
void YourFunction()
{
userManager.ChangeFirstName("name"); // Change first name
userManager.ChangeFirstNameTMP(TextMeshProUGUI); // Change first name using TMP text
userManager.ChangeLastName("name"); // Change last name
userManager.ChangeLastNameTMP(TextMeshProUGUI); // Change last name using TMP text
userManager.ChangePassword("password"); // Change password
userManager.ChangePasswordTMP(TextMeshProUGUI); // Change password using TMP text
userManager.ChangeProfilePicture(int index); // Change profile picture by library index
}
Profile Picture Library
Profile picture libraries require ‘User Manager’ to work with. You can check out the default library using Tools > DreamOS > Show Profile Picture Library.
How can we help?
A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.