UserManagement:Group.AllowBackend
Version: - booleanSummary
Returns the value "True
" if the group is allowed backend login.
Settings
The value is based on the Allow backend login
field for a group.
(User Management > Group > Default tab > Settings section > Allow backend login)
Examples
Outputting the template tag
@GetBoolean("UserManagement:Group.AllowBackend")
Check if tag has a value
@if(!bool.IsNullOrWhiteSpace(GetBoolean("UserManagement:Group.AllowBackend"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
bool storedTag = GetBoolean("UserManagement:Group.AllowBackend");
}
Outputting the template tag
<!--@UserManagement:Group.AllowBackend-->
Check if boolean has a value
<!--@If Defined(@UserManagement:Group.AllowBackend)-->
Let's output this tag here: <strong><!--@UserManagement:Group.AllowBackend--></strong>
<!--@EndIf(@UserManagement:Group.AllowBackend)-->