SDK
SDK Jvm v1.x
2

adminExists #

Checks that an administrator account exists.

:::: tabs ::: tab Java

Copied to clipboard!
CompletableFuture<Boolean> adminExists()

Return #

A boolean indicating whether an admin user exists or not.

Usage #

Copied to clipboard!
Boolean result = kuzzle.getServerController().adminExists().get();

::: ::: tab Kotlin

Copied to clipboard!
fun adminExists(): CompletableFuture<Boolean>

Return #

A boolean indicating whether an admin user exists or not.

Usage #

Copied to clipboard!
val result: Boolean =
  kuzzle.serverController.adminExists().get()

::: ::::