The internal directory stores user and group information in the Confluence database.
On this page:
Configuring User Directories
How to Reenable the Internal Directory (Knowledge base article)