OpenSimulator Internals/UserAccountService
Appearance
OpenSimulator Internals/UserAccountService
[edit]Overview
[edit]UserAccountService stores local user accounts. Name, email, user level, and flags. Local accounts only -- HyperGrid foreign users are not stored here.
This service is stateless and can be load-balanced across multiple ROBUST instances.
Account Fields
[edit]| Field | Type | Notes |
|---|---|---|
| PrincipalID | UUID | User's UUID |
| FirstName | string | |
| LastName | string | |
| string | May be blank | |
| ScopeID | UUID | Scope the user belongs to. UUID.Zero unless hosting multiple grids in a single database. |
| Created | int | Unix timestamp of account creation |
| UserLevel | int | 200 = god-capable, 0 = normal user, negative = login blocked. Minimum login level adjustable via "login level" console command or MinLoginLevel in [LoginService]. |
| UserFlags | int | Currently unused |
| UserTitle | string | Currently unused |
| LocalToGrid | bool | Should be true for all local users. May not currently be in use. |
| ServiceURLs | string | Service URLs for use by foreign grids when HyperGrid is enabled |
Note: where multiple accounts are returned, the account element may have an underscore and index appended (e.g. account_0). Historical reasons.
Database
[edit]See UserAccounts table for the full database schema.