0

Show User

  • updated 4 yrs ago

Description

The showuser part provides functionality to access user-management in your application.

Use

User authentication and authorization is managed via the LogicNets Logon-system application. When user is authenticated and authorized an user profile is generated. This user profile can be used in the application to provide / deny access to certain parts of your application.

The show_user part can be used in form/form-parts-nodes and in process nodes. When it is used in form/form-part-nodes it shows a welcome text for logged in users (with links to logout and manage their account) and a login-link when no user is logged in so far. The usage in a process node can be used when an application has an own UI and requires functionality to logon / logout users or manage the current user account.

Editor Fields

Field

Type / Options

Mandatory/
Optional

Description

Action

Display | Account | Login | Logout

 M

Display: This option is only used in a form/form-part-node to display a welcome text to the user.
Account: This option starts the logon application to change the user account settings.
Login: This option starts the logon application to start the logon procedure.
Logout: This optoin logs the current user out of the system.

Display User Checked / Unchecked O

When this option is checked the part will print the username on the screen.

Note: This is only available when "Action" is set to "Display".

Display Logout Checked / Unchecked O When this option is checked and when the user is logged in the part will print a link. This link will log the user out when the user clicks on it.

Note: This is only available when "Action" is set to "Display".
Display Login Checked / Unchecked O When this option is checked and when the user is not logged in the part will print a link. This link will take the user to the logon page when the user clicks on it. When the user logs in the user will be redirected to the application again.

Note: This is only available when "Action" is set to "Display".
Display Modify account Checked / Unchecked O When this option is checked and when the user is logged in the part will print a link. This link will take the user to a page where the user can see and change properties regarding the account.

Note: This is only available when "Action" is set to "Display".
Display User Role(s) Checked / Unchecked O When this option is checked and when the user is logged in the part will print all role(s) that are assigned to the user's account.

Note: This is only available when "Action" is set to "Display".

Display Change language

Checked / Unchecked

O

When checked and when the user is logged in the part will print dropdown which lists all available languages for the running application. Selecting a language will refresh the page and load the page in the selected language.

Note: This is only available when "Action" is set to "Display" and it is only available for projects that are translatable.

Show user role(s)

Checked / Unchecked

O

When this option is checked the system shows all of the roles the user belongs to after the account name.

Note: This is only available when "Action" is set to "Display".

Simple modify mode

Checked / Unchecked O When this option is checked the system simplifies the layout to show only the account name (and optionally the roles to which the user belongs). This allows the user to click the name to modify the account, and the system does not show the logout link.

Note: This is only available when "Action" is set to "Display".

Example

Please download and import the following example project in your workspace. 

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 4 yrs agoLast active
  • 13Views
  • 2 Following

Home