UserManagement:User.StartPage
Version: - stringSummary
Returns the start page of the user, if the user is redirected to a start page after login in frontend.
Example: Default.aspx?ID=30
Settings
The value is based on the Frontend start page input field for a user.
(User Management > User > User tab > Settings section > Start page)
Examples
Outputting the template tag
@GetString("UserManagement:User.StartPage")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("UserManagement:User.StartPage"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("UserManagement:User.StartPage");
}
Outputting the template tag
<!--@UserManagement:User.StartPage-->
Check if string has a value
<!--@If Defined(@UserManagement:User.StartPage)-->
Let's output this tag here: <strong><!--@UserManagement:User.StartPage--></strong>
<!--@EndIf(@UserManagement:User.StartPage)-->