UserManagement:User.SelectableGroup.ParentID
Version: - integerSummary
Returns the ID of the parent group of the selected group.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetInteger("UserManagement:User.SelectableGroup.ParentID")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("UserManagement:User.SelectableGroup.ParentID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("UserManagement:User.SelectableGroup.ParentID");
}
Outputting the template tag
<!--@UserManagement:User.SelectableGroup.ParentID-->
Check if integer has a value
<!--@If Defined(@UserManagement:User.SelectableGroup.ParentID)-->
Let's output this tag here: <strong><!--@UserManagement:User.SelectableGroup.ParentID--></strong>
<!--@EndIf(@UserManagement:User.SelectableGroup.ParentID)-->