Couchbase · Schema

UserInfo

User information

AnalyticsApp ServicesBackupCapellaCloudDatabaseDBaaSEventingFull-Text SearchGatewayJSONMobileNoSQLReplicationSQL++SyncVector SearchXDCR

Properties

Name Type Description
name string Username
admin_channels array Admin-assigned channels
admin_roles array Admin-assigned roles
all_channels array All channels accessible by the user
roles array All roles assigned to the user
email string User email address
disabled boolean Whether the user account is disabled
View JSON Schema on GitHub

JSON Schema

couchbase-userinfo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UserInfo",
  "title": "UserInfo",
  "type": "object",
  "description": "User information",
  "properties": {
    "name": {
      "type": "string",
      "description": "Username"
    },
    "admin_channels": {
      "type": "array",
      "description": "Admin-assigned channels",
      "items": {
        "type": "string"
      }
    },
    "admin_roles": {
      "type": "array",
      "description": "Admin-assigned roles",
      "items": {
        "type": "string"
      }
    },
    "all_channels": {
      "type": "array",
      "description": "All channels accessible by the user",
      "items": {
        "type": "string"
      }
    },
    "roles": {
      "type": "array",
      "description": "All roles assigned to the user",
      "items": {
        "type": "string"
      }
    },
    "email": {
      "type": "string",
      "description": "User email address"
    },
    "disabled": {
      "type": "boolean",
      "description": "Whether the user account is disabled"
    }
  }
}