Defining a Pattern for User E-Mail Addresses

Use

You can configure the user management engine (UME) to only allow e-mail addresses entered in user profiles that match a pattern that you define. For example, this enables you to ensure that users only enter e-mail addresses from a specific domain or you can support an in-house e-mail system with a single-label domain.

When you enter an e-mail address in a user profile with the Web Dynpro identity management application, the UME performs a check on the e-mail address. The e-mail address must match the pattern defined. If the e-mail address does not match the pattern, you receive an error message.

Procedure

Configure the required UME property, ume.users.email_pattern.

For more information about editing UME properties, see Editing UME Properties .

The default value is as follows:

?*@?*.?*

This ensures the e-mail entered fits the pattern of an Internet e-mail address:

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

The following characters have special functions:

  • Question mark (?) stands for any single character.

  • Asterisk (*) stands for 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