ibexa

Path

ez publish / technical manual / 4.x / reference / configuration files / site.ini / [usersettings] / loginredirectionuriattribute


Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

LoginRedirectionUriAttribute

Summary

Sets which attribute of the user/usergroup class contains redirection URI for the user.

Usage

LoginRedirectionUriAttribute[user]= attribute_identifier1
LoginRedirectionUriAttribute[group]= attribute_identifier2

Description

The redirection URI can be specified for a user/usergroup using an attribute of the "Text line" datatype. The "LoginRedirectionUriAttribute" setting specifies which attribute of the user/usergroup class is used for storing the redirection URI. Please refer to the "Advanced redirection after login" section of the "Features" chapter for more information.

Note: Specify '/' as the redirect uri in the login form to make it try to read the user / user group object attribute value.

Examples

Example 1

[UserSettings]
LoginRedirectionUriAttribute[user]=redirection_uri

This will tell the system that a user should always be redirected after login to the URL that is specified in the "redirection_uri" attribute for this user.

Example 2

[UserSettings]
LoginRedirectionUriAttribute[group]=start_page

This will tell the system that a user should always be redirected after login to the URL that is specified in the "start_page" attribute for the user group that this user belongs to.

Example 3

[UserSettings]
LoginRedirectionUriAttribute[user]=redirection_uri
LoginRedirectionUriAttribute[group]=start_page

This will tell the system that a user should always be redirected after login to the URL that is specified in the "redirection_uri" attribute for this user. If no URL is specified in this attribute then the user will be redirected to the URL that is specified in the "start_page" attribute for the user group that this user belongs to.

Svitlana Shatokhina (24/05/2006 7:24 am)

Geir Arne Waaler (07/10/2011 7:31 am)

Svitlana Shatokhina, Geir Arne Waaler


Comments

There are no comments.