Determines whether or not the provided credentials belong to NocoDB's super admin user.
Usage
is_super_admin(
hostname = pal::pkg_config_val("hostname"),
email = pal::pkg_config_val("email"),
password = pal::pkg_config_val("password"),
api_token = NULL
)
Details
The user is determined based on api_token
or email
and password
(the former takes precedence).
See also
Other functions to manage NocoDB authentication:
api_tokens()
,
assert_super_admin()
,
create_api_token()
,
delete_api_token()
,
is_signed_in()
,
refresh_sign_in()
,
req_auth()
,
sign_in()
,
sign_out()
,
sign_up_user()
Other user:
assert_super_admin()
,
is_signed_in()
,
refresh_sign_in()
,
sign_in()
,
sign_out()