NovaOS
GithubHomeLaunchNeed help?
  • Welcome to NovaOS👋
  • Get started
    • Access NovaOS
  • How to
    • NovaOS How To
      • Setting a custom wallpaper
      • Changing default openers
      • Using default apps
        • Nova Files App
      • Data recovery
      • Using the Tasks Dock
    • Publish to Nova Store
    • Protips
    • Feedback and suggest
    • Support NovaOS
  • docs
    • Basics
      • Introduction
      • Timing
      • File system
        • Overview on files
        • File management
      • User choices
        • Settings Keys
        • Choose files
      • Managing self
        • The Open Launch Protocol
        • The EventBusWorker
    • Standards
      • Styling standards
      • Error standards
    • Networking
      • Rotur In NovaOS
    • Features
  • References
    • The NovaOS Check list
    • Methods
      • Database management
      • File management
    • NTX Actions
    • Projects
  • Epic
    • Achievements
Powered by GitBook
On this page
  • getallusers()
  • removeUser()
  • erdbsfull()

Was this helpful?

  1. References
  2. Methods

Database management

A function to refresh the current memory tree object from the local db. Has a brief cache for requests. Possible outputs are:

  • Null: No data is found in the database.

  • 3: Password doesn't match; Data is available, but the password is incorrect.

  • object: success in operation; returns the root as an object.

getallusers()

Returns an array of the usernames of all the local users in the current NovaOS system.

removeUser()

Precisely removes the current user from the database and logs out.

erdbsfull()

Erases the NovaOS database. Deletes all accounts and reloads the page.

PreviousMethodsNextFile management

Last updated 1 month ago

Was this helpful?