Login
Tags, loops and code examples available for Extranet login functionality.
Available tags
DW_extranet_error_dk
Return the standard error message in Danish.
@GetString("DW_extranet_error_dk")
DW_extranet_error_uk
Return the standard error message in English.
@GetString("DW_extranet_error_uk")
DWextranet_AccessUserPasswordErrorField1
Returns a style value that can be used to hide or show an error message for short passwords.
@GetString("DWextranet_AccessUserPasswordErrorField1")
DWextranet_AccessUserPasswordErrorField2
Returns a style value that can be used to hide or show an error message for weak passwords.
@GetString("DWextranet_AccessUserPasswordErrorField2")
DWextranet_AccessUserPasswordErrorField3
The value is generated automatically based on the Complexity field in the the extended extranet security settings.
(Management settings - Control Panel - Modules - User Management - Password security - Extranet - Complexity).
@GetString("DWextranet_AccessUserPasswordErrorField3")
DWextranet_AccessUserPasswordErrorField4
Returns a style value that can be used to hide or show an error message for previously used passwords.
@GetString("DWextranet_AccessUserPasswordErrorField4")
DWextranet_AccessUserPasswordErrorFieldData1
Returns the minimum number of characters required for passwords.
@GetString("DWextranet_AccessUserPasswordErrorFieldData1")
DWextranet_AccessUserPasswordErrorFieldData2
Returns the minimum number of days that have to pass before a password can be reused.
@GetString("DWextranet_AccessUserPasswordErrorFieldData2")
DWextranet_AccessUserPasswordErrorFieldData3
Returns the minimum number of times the password has to be changed before a password can be reused.
@GetString("DWextranet_AccessUserPasswordErrorFieldData3")
DWExtranetAccountBlocked
Returns True if the user is blocked due to e.g. too many login attempts (when Password security - Extranet is enabled in Management settings - Control Panel - Modules - User Management).
@GetBoolean("DWExtranetAccountBlocked")
DWExtranetAction
Returns the URL for the page that handles extranet form submission.
@GetString("DWExtranetAction")
DWExtranetPasswordRemember
Returns the state of the Remember password (DWExtranetPasswordRemember
) checkbox.
@GetString("DWExtranetPasswordRemember")
DWExtranetUsernameRemember
Returns the state of the Remember username (DWExtranetUsernameRemember
) checkbox.
@GetString("DWExtranetUsernameRemember")
DWPasswordAction
Returns the URL for the page that handles password form submission.
@GetString("DWPasswordAction")
UserManagement:User.Login.Action
Returns action name on fronend performing of Extranet module, related to value set in Show section of the module paragraph settings.
@GetString("UserManagement:User.Login.Action")
UserManagement:User.Login.EmailSender
Returns current value of From Address field in Login settings>Email settings of the module paragraph settings, can be available during password recovery performing.
@GetString("UserManagement:User.Login.EmailSender")
UserManagement:User.Login.EmailSubject
Returns current value of Subject field in Login settings>Email settings of the module paragraph settings, can be available during password recovery performing
@GetString("UserManagement:User.Login.EmailSubject")
UserManagement:User.Login.EmailTemplate
Returns current value of Template field in Login settings>Email settings of the module paragraph settings, can be available during password recovery performing
@GetString("UserManagement:User.Login.EmailTemplate")
UserManagement:User.Login.PasswordRecoveryMethod
Returns current value of Restore password method control in Login settings>Email settings of the module paragraph settings, can be available during password restoring
@GetString("UserManagement:User.Login.PasswordRecoveryMethod")
UserManagement:User.Login.SuccessRedirectToPage
Returns current value of On login, redirect to control in Login settings section of the module paragraph settings
@GetString("UserManagement:User.Login.SuccessRedirectToPage")
Available loops
DWExtranetExternalLoginProviders
The DWExtranetExternalLoginProviders loop lets you display various information about the external login providers that are created in Management Center – Control Panel – External Authentication.
@foreach (LoopItem item in GetLoop("DWExtranetExternalLoginProviders")){ <p>@item.GetValue("TagName")</p> }
DWExtranetSecondaryUsers
The DWExtranetSecondaryUsers
loop lets you display information about the user can be impersonated.
@foreach (LoopItem item in GetLoop("DWExtranetSecondaryUsers")){ <p>@item.GetValue("TagName")</p> }
UserManagement:User.Login.Fields
The UserManagement:User.Login.Fields
loop lets you display information about field the user should input to reset your password.
@foreach (LoopItem item in GetLoop("UserManagement:User.Login.Fields")){ <p>@item.GetValue("TagName")</p> }