isAdminLoggedIn(Function callback)

Find out is administrator logged in.

Parameter Description
callback User defined callback function that is called after the response is available.

After the response is available the callback function is called with two arguments: callback(err, data).

Argument Type Desription
err JSON Object An error_object or null if no error occured.
data Boolean If result is true administrator is logged in and if data is false administrator is not logged in.
copyright © 2014