Development > Safe X3 WAS > Websites > Website profiles 

SEEWARNING Before creating your site, it is advised to read the documentation:Before beginning.


The user profiles are used to define access rights to pages and XTEND interfaces.

The XTEND interface protection is useful when developing applications via the AJAX library of XTEND.

SEEWARNING The use of profiles within the site is activated/deactivated in the site record.

The user profile code is sent back by login Web action to the X3 setup 'AXUSERPROF'.
It is stored in the field AUSERPROFILE of the entity of type session (ASESSION).

SEEINFO The profile can also be used in conditioned blocks to display/hide information in the HTML page.

Prerequisites

SEEREFERTTO Refer to documentation Implementation

Screen management

Entry screen

Fields

The following fields are present on this tab :

Block number 1

Code of the Web site profile.

  • Site (field FCYLIB)

Current Web site

  • Description (field INTIT)

 

Characteristics

  • Global access (field ALLACS)

  • Yes: authorizes users having this profile to access all protected pages or interfaces.

  • No: authorizes users having this profile to access a sub-group of protected pages or interfaces.
    The authorized pages are those checked in the list of 'protected pages of the site'.
    The authorized interfaces are those checked in the list of 'protected interfaces of the site'.

 

  • Session timeout (mn.) (field USRTIMOUT)

'Timeout session' specific to the user profile.
Overloads the 'Timeout session' defined at site level.

Code of the error page specific to the user profile.

Grid Site secure pages

  • Access (field PAGACS)

Check the cell to authorize access.

Page code.

Grid Site secure interfaces

  • Access (field INTACS)

Check the cell to authorize access.

Interface code.

Close

 

Action icon

Yes to all remaining

Is used to select everything that is not selected.

No to all remaining

Is used to deselect everything that is selected.

 

Close

 

Reports

By default, the following reports are associated with this function :

 PRTSCR : Screen print

This can be changed using a different setup.

Specific Buttons

This button is used to update the XTEND dictionary in XML format.

The X3WEB server takes into account only the dictionary with this format.

There is one XML file per dictionary.

For instance, the ACT.xml file corresponds to all the web actions for the current web site.

This button is used to copy a Web site profile.

Error messages

The only error messages are the generic ones.

Tables used

SEEREFERTTO Refer to documentation Implementation