Start of Content Area

 User E-Mail Address Pattern Check (Enhanced) Locate the document in its SAP Library structure

Technical Data

Function is

Enhanced

Release

Software Component

      Component: SAP NetWeaver

      Release: 2004

      Support Package: 20

Assignment to Application Component

BC-JAS-SEC-UME User Management Engine

Country Setting

Valid for all countries

Use

When you enter an e-mail address as part of a user record, the user management engine (UME) performs a check on the e-mail address. Before this release, a hard-coded check ensured the entry was a valid Internet e-mail address:

name@second-level-domain.top-level-domain

The current release introduces a new UME property: ume.users.email_pattern. With this property, you can define your own pattern for valid e-mail addresses. The default value is as follows:

?*@?*.?*

Question mark (?) represents any single character.

Asterisk (*) represents 0, 1, or more characters.

Use backslash (\) to escape wildcard characters.

Example

Francesca Bertolini wants to ensure that users only enter company e-mail addresses, so she sets the UME property as follows:

?*@example.com

Hussein Atel’s company uses an in-house mail system. He wants to ensure that users only enter single-label domains, so he sets the UME property as follows:

?*@example

The check for valid e-mail addresses only applies to the user administration console. It does not apply to other interfaces such as APIs or the visual administrator.

Recommendation

If your back end performs any additional checks on the e-mail address when changing the user record, make sure the pattern matches the checks made by the back-end system.

End of Content Area