UserManagement:User.SelectableGroup.Name

Version: - string  

Summary

Returns the name of the selected user group.

Settings

The value is based on the Select group field for a user.

(User Management > User > User tab > Groups > Select group)

Examples

Outputting the template tag

@GetString("UserManagement:User.SelectableGroup.Name")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("UserManagement:User.SelectableGroup.Name"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("UserManagement:User.SelectableGroup.Name"); }

Outputting the template tag

<!--@UserManagement:User.SelectableGroup.Name-->

Check if string has a value

<!--@If Defined(@UserManagement:User.SelectableGroup.Name)--> Let's output this tag here: <strong><!--@UserManagement:User.SelectableGroup.Name--></strong> <!--@EndIf(@UserManagement:User.SelectableGroup.Name)-->