SDK
SDK Jvm v1.x
2

adminExists #

Checks that an administrator account exists.

:::: tabs ::: tab Java

CompletableFuture<Boolean> adminExists()

Return #

A boolean indicating whether an admin user exists or not.

Usage #

Boolean result = kuzzle.getServerController().adminExists().get();

::: ::: tab Kotlin

fun adminExists(): CompletableFuture<Boolean>

Return #

A boolean indicating whether an admin user exists or not.

Usage #

val result: Boolean =
  kuzzle.serverController.adminExists().get()

::: ::::