Skip to content

User Mapping Connectors

Piergiorgio Lucidi edited this page Nov 26, 2026 · 1 revision

User Mapping Connectors

End-User & Connector Documentation: End-User Guide · Included Connectors · Repository Connectors · Output Connectors · Transformation Connectors · Authority Connectors · User Mapping Connectors · Notification Connectors

Contents


Regular Expression User Mapping Connection

The Regular Expression user mapping connection type is very helpful for rote user name conversions of all sorts. For example, it can easily be configured to map the standard "user@domain" form of an Active Directory user name to (say) a LiveLink equivalent, e.g. "domain\user". Since many repositories establish such rote conversions, the Regular Expression user mapping connection type is often all that you will ever need.

A Regular Expression user mapping connection type has one special tab in the user mapping connection editing screen: "User Mapping". This tab looks like this:

Regexp User Mapping, User Mapping tab Regexp User Mapping, User Mapping tab

The mapping consists of a match expression, which is a regular expression where parentheses ("(" and ")") mark sections you are interested in, and a replace string. The sections marked with parentheses are called "groups" in regular expression parlance. The replace string consists of constant text plus substitutions of the groups from the match, perhaps modified. For example, "$(1)" refers to the first group within the match, while "$(1l)" refers to the first match group mapped to lower case. Similarly, "$(1u)" refers to the same characters, but mapped to upper case.

For example, a match expression of ^(.*)\@([A-Z|a-z|0-9|_|-]*)\.(.*)$ with a replace string of $(2)\$(1l) would convert an Active Directory username of MyUserName@subdomain.domain.com into the user name subdomain\myusername.

When you are done, click the "Save" button. When you do, a connection summary and status screen will be presented, which may look something like this:

Regexp User Mapping Status Regexp User Mapping Status

Additional User Mapping Connectors in Trunk

  • LDAP User Mapping Connection (connectors/ldapmapper) — Maps an incoming username to a target username by looking up user attributes in an LDAP directory.

Clone this wiki locally