Skip to main content

Attribute translation tables

Definition

AccountSoffid namingprovides rulesan define howeasy to generateuse account namesmechanism to connecttranslate references or external codes into internal codes. For example, the HHRR application could be using a diferent coding scheme for business units.

To deal with finalthis systems.data Themismatch, normalusers casecan isextend the accountdata namemodel, willor becan theeither sameuse astranslation tables. This screen allows the user name, in other cases, here you could define the customize account name rules.

When you are configuring an agent, you have to indicate the user domain which will be used to create newand accounts,maintain thatsuch usertables. domainThis referstables tocan also be downloaded or uploaded as CSV files, enable the Accountimport namingof rulesdata definedcontained oninto Soffid console. You can visit the Account naming rules page for more information.spreadsheets.

Screen overview

&&TODO&&

Standard attributes

  • CodeDomain: codethe usedomain tocolumn identifyrepresents the accounttranslation naming rule.
  • Description: brief description of the rule. That value will be displayed to select the user domain on the agent's setup.
  • User domain type: use to define the kind of 
    • Main user name: use the main usertable name.
    • AssignedColumn by the operator: the operator will assign the account name.1
    • Script:Column allows you to configure the script condition and script creation of account naming.2
    • ServerColumn Addon:3
    • allows
    • Column to4
    • select
    • Column an addon to generate the account naming rules.5
  • Column

  • Generator: allows you1 to select5 anmeaning addonis whenuser defined. Usage of translation table is bound, but not restricted to, attribute translation expressions, through the user domain type selected is "Server addon".
  • Create account condition: defines the conditions to enable or prevent the creationuse of theserverService account. It is only available when the Script option is selected in the User domain type.
  • Script: computes the name to assign to the user account. If the script returns null, the account is not going to be created. It is only available when the Script option is selected in the User domain type.

Create account condition

The create account condition enables or prevents the creation of the account.interface.

Available objects

Actions

user User

Query

object: Details
attributesUser attributes map
groups

TheAllows to query groups thatthrough thedifferent usersearch belongssystems, Quick, to.

It's composed of a java map. The key is the group name,Basic and the value is the Group objectAdvanced.

groupsList

The groups that the user belongs to.

It's composed of a java list of Group objects

serviceLocatorHelper to get access to Soffid microservices
userDomainUser domain object
systemTarget system object

Example:

// Only users with mail address in soffid.com can have an account
"soffid.com".equals(user.mailDomain)
Expected result
booleanReturn true if the account can be created.

Account name Script

The create account script computes the name to assign to the user account. If the script returns null, the account is not going to be created.

Available objects
userUser object: Details
attributesUser attributes map
groups

The groups that the user belongs to.

It's composed of a java map. The key is the group name, and the value is the Group object

groupsList

The groups that the user belongs to.

It's composed of a java list of Group objects

serviceLocatorHelper to get access to Soffid microservices
userDomainUser domain object
systemTarget system object
Expected result
StringReturn the account name to use

Example:

// Uses the email address as the account name
user.shortName+"@"+user.mailDomain

Actions

Account naming rules query

Ordeleteone

Add new

Allows you to add a new accountattribute namingtranslation ruletable. inThat theoption system. To addadds a new agentrow iton isthe necessarytable to fill in the requireddata. fields.It will be mandatory to apply changes to save the data.

Delete

Allows you to remove one or more agents by selecting one or more records on the list.

by

Export

Allows you to export a CSV file with the account naming rules configuration.one.

Import

Allows you to upload a CSV file with the accountattribute namingtranslation rulestable configurationdata to add new rules to the system.

First, you need to pick up a CSV file, that CSV has to contentcontain a specific configuration. Then you need to check the contents. And finally, you need to select the mappings for each column of the CSV file to import the data incorrectly correctly.and to click the Import button.

Account

Download namingCSV rulesfile

detail

Allows you to download a CSV file with the information of all attribute translation tables.

Apply changes

Allows you to save a new accountattribute namingtranslation rulestables or to save an updated accountattribute namingtranslation rules.tables.

Undo

Allows you to undo any changes made.

Delete

Allows you to remove one account naming rule.