SDK
SDK C# v2.x
2

AdminExistsAsync #

Checks that an administrator account exists.

Arguments #

Copied to clipboard!
async Task<bool> AdminExistsAsync()

Return #

A boolean indicating whether an admin user exists or not.

Usage #

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