Skip to main content

IDSYNCH ID PLUGIN MASK

The default function for the IDSYNCH ID PLUGIN MASK is:

iif( (size($LAST_NAME) > 0 && size($FIRST_NAME) > 0),
substr($LAST_NAME[0], 0, 5) + substr($FIRST_NAME[0], 0, 1),
""
)

First, the boolean expression ensures that there are values for $FIRST_NAME and $LAST_NAME . If check is successful, then it takes the 0-5 characters (first 6) of LAST_NAME and the 0-1 characters (first 2) of FIRST_NAME and put them together to form a user’s profile ID.

If the safety check fails, then it returns an empty string.