Description: A visual element that shows the information of the currently logged user. Allows login/logout features if needed.
JavaDoc: Click here
Remarks: The default stages in case of login/logout are the ones defined in DiF's configuration. See more about this here.
Body content: Empty. All enclosed content will be ignored.
Attributes:
Name | Description | Data type | Required | Default value |
allowLogout | The name (identifier) of the form | Boolean | No | True |
allowLogin | The label for the form. Will create a field set for this | Boolean | No | True |
includeLoginForm | If we should provide a login form or a login link, when not logged in | Boolean | No | True |
onLoginStage | The target destination after submit | String | No | The current stage |
onLogoutStage | The target destination after submit | String | No | The home stage |
Examples:
<dif:document> <dif:userInfo allowLogin="true" allowLogout="true" /></div> ... </dif:document>