Creating the user code in Optiva

Two Optiva profile attributes are used to create the user code in Optiva.

Profile Attribute Description
CE.GIVENNAME.NUMCHAR Specifies the number of characters for the first name. The default value is 1.
CE.SURNAME.NUMCHAR Specifies the number of characters for the last name. To use the whole name, specify the default value of -1.

The first name and the last name are taken from the user’s claim. If this information is not part of the claim, then the Common Name is used.

Certain rules apply:

  • If two users share the same name, then a numeric suffix is appended.
  • The maximum length of the user code is 20 characters. This includes two characters for the numeric suffix.
  • If the combined length of the first name and the last name exceeds 18 characters, then the name is truncated.
  • Single quotes and empty spaces are omitted.
    • Ryan O'Neal becomes RONEAL.
    • Stevie Van Zant becomes SVANZANT.

Examples

For these examples, there are three users:

  • Janice Smith
  • John Smith
  • Joanne Smith
    CE.GIVENNAME.NUMCHAR CE.SURNAME.NUMCHAR Resulting User Code
    1 -1 The default values are used. A suffix is added to create unique names.
    • JSMITH
    • JSMITH1
    • JSMITH2
    -1 -1 The entire first and last name are used.
    • JANICESMITH
    • JOHNSMITH
    • JOANNESMITH
    0 -1 Only the last names are used. The suffix is added to create unique names.
    • SMITH
    • SMITH1
    • SMITH2
    1 4 The first letter of the first name is used. The last name is truncated after 4 characters. The suffix is added to create unique names.
    • JSMIT
    • JSMIT1
    • JSMIT2
Note: If you specify 0 for both profile attributes, then the default values for both of those profile attributes are used.