@umbraco-cms/backoffice
Preparing search index...
packages/user/current-user
isCurrentUserAnAdmin
Function isCurrentUserAnAdmin
isCurrentUserAnAdmin
(
host
:
UmbControllerHost
)
:
Promise
<
boolean
>
Check if the current user is an admin
Parameters
host
:
UmbControllerHost
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@umbraco-cms/backoffice
Loading...
Check if the current user is an admin