SDK
SDK C# v2.x
2

AdminExistsAsync #

Checks that an administrator account exists.

Arguments #

async Task<bool> AdminExistsAsync()

Return #

A boolean indicating whether an admin user exists or not.

Usage #

bool exists = await kuzzle.Server.AdminExistsAsync();
Console.WriteLine("Admin exists? " + exists);