Forum:LastReply.Author.Group.ID

Version: - string  

Summary

Returns user group ID the author of first answer belongs to.

Settings

The value is based on ID of the user group in Users module. 

Examples

Outputting the template tag

@GetString("Forum:LastReply.Author.Group.ID")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Forum:LastReply.Author.Group.ID"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:LastReply.Author.Group.ID"); }

Outputting the template tag

<!--@Forum:LastReply.Author.Group.ID-->

Check if string has a value

<!--@If Defined(@Forum:LastReply.Author.Group.ID)--> Let's output this tag here: <strong><!--@Forum:LastReply.Author.Group.ID--></strong> <!--@EndIf(@Forum:LastReply.Author.Group.ID)-->