More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
docs
betterdocs_faq

Employee Username Format

Updated on July 14, 2026

7 min to read

Overview

The Employee Username Format setting defines the template used by Classter to automatically generate account usernames for new employees (non-teaching staff) when they are registered in the system. By configuring this template, administrators ensure that all employee accounts follow a consistent, predictable naming convention across the institution.

This setting belongs to the Accounts & Roles section of Security Settings and is one of several role-specific username format settings available in Classter — each covering a different user type (students, teachers, parents, employees, and in Higher Education mode, lecturers).

 

What This Setting Does

When a new employee record is created in Classter, the system reads this format template and uses it to suggest a username for the employee’s login account. The suggested username is built by extracting parts of the employee’s first name and last name according to the defined pattern.

 

Format Template Tokens

The template is built using placeholder tokens. The most commonly used tokens are:

  • [SchoolPortal.FirstName(N)] — Takes the first N characters of the employee’s first name.
  • [SchoolPortal.LastName(N)] — Takes the first N characters of the employee’s last name.
  • [SchoolPortal.Code] — Uses the employee’s internal identifier code.
  • [SchoolPortal.CrossCode] — Uses the employee’s cross-reference code.

The value of N specifies how many characters to extract. For example, N=1 extracts only the first letter, while N=10 extracts up to ten characters. Tokens can be combined with literal separators such as a dot (.) or an underscore (_) to produce formats like “j.smith” or “john_smith”.

 

Advanced Options for Compound Names

For employees who have compound names (e.g., two first names or a hyphenated last name), the format dialog provides advanced split functions that can extract only the first part of the name. For example, a format can be configured to take only the first word of a first name, ignoring any secondary first names — ensuring that the generated username remains clean and short regardless of how many name parts the employee has.

 

Automatic Character Conversion

The system automatically converts the employee’s name characters to produce a valid, system-compatible username. This includes converting accented or non-Latin characters to their Latin equivalents (for example, transliterating Greek characters to the Latin alphabet) and converting the result to lowercase. This ensures that the generated username works with standard authentication systems regardless of the language or script used to store the employee’s name.

 

Duplicate Username Handling

If the generated username already exists in the system (for example, because another employee has the same first initial and last name), Classter automatically appends an incrementing integer to make the username unique. The first collision becomes username1, the next username2, and so on.

 

Configuration Interface

The format template is not typed directly as free text. It is configured through a dedicated pop-up dialog that opens when you click the three-dot button (…) next to the setting. The dialog provides:

  • A visual pattern builder where you select the type of field (First Name, Last Name, Code) and the number of characters to include.
  • A preview and test area where you can enter a sample first and last name to immediately see the resulting username before saving.
  • Validation to confirm that the pattern is syntactically correct.

 

Where It Is Used

Location in the application: Main Settings > General Settings > Security Settings > Accounts & Roles

This setting is applied when a new employee account is created in Classter, whether created manually through the administration interface or via a bulk import. The generated username is presented as a suggestion that the administrator can accept or manually override before saving the record.

The setting is per-institution (per-company), meaning that each institution in a multi-institution environment can define its own employee username format independently.

The username generated by this setting is the account login name used by employees to sign in to the system. It is distinct from the employee’s display name, email address, or internal code.

 

Business Logic / Behavior

  • The format template is evaluated at the moment a new employee account is created.
  • The suggested username is a starting point. Administrators can manually change it before saving the employee record.
  • If the suggested username already exists, the system adds a number suffix automatically (1, 2, 3…) to ensure uniqueness.
  • Character conversion is applied automatically, so the result is always a standard, lowercase, Latin-character username.
  • Changing this setting after accounts have already been created does not rename existing accounts. Only new accounts created after the change will use the updated format.
  • This setting covers only the username format. It does not affect the employee’s email address format, display name, or login password policy.

 

K-12 Mode

In K-12 mode (when the “Enable Configuration for Higher Education” setting is disabled), the Employee entity covers all non-teaching staff — for example, administrative personnel, support staff, secretaries, and other roles that are not classified as teachers. Teaching staff have their own separate username format setting (Teacher username format). This setting applies to all employees who fall outside the teacher role.

 

Higher Education Mode

In Higher Education mode (when the “Enable Configuration for Higher Education” setting is enabled), academic staff such as lecturers and professors are managed as a separate entity type — Lecturer — which has its own dedicated username format setting (Lecturer username format). In this mode, the Employee username format setting applies specifically to non-academic administrative and support staff. The format behavior is identical in both modes; only the scope of who is considered an “employee” differs.

 

Examples

 

Example 1 — First initial followed by last name

Format template: [SchoolPortal.FirstName(1)][SchoolPortal.LastName(10)]

Employee Name

Generated Username

Maria Thompson

mthompson

Robert Garcia

rgarcia

Anna Schmidt

aschmidt

Anne Schmidt (second employee — duplicate)

 

Example 2 — Dot-separated format

Format template: [SchoolPortal.FirstName(1)].[SchoolPortal.LastName(10)]

Employee Name

Generated Username

Maria Thompson

m.thompson

Robert Garcia

r.garcia

David Chen

d.chen

 

Example 3 — Full first name and last name

Format template: [SchoolPortal.FirstName(10)][SchoolPortal.LastName(10)]

Employee Name

Generated Username

Maria Thompson

mariathompson

 

Example 4 — Compound name handling (advanced split)

An employee registered as “Mary Jane Thompson-Walsh” could produce an unusable username if the full name is applied. Using the advanced split option in the format dialog, you can configure the template to extract only the first part of the first name (up to the first space) and only the first part of the last name (up to the first hyphen).

Result: mthompson

This keeps the username short, clean, and consistent regardless of how complex the employee’s full legal name is.

 

When to Use

Configure this setting when

  • You are setting up the institution for the first time and want all employee accounts to follow a consistent naming convention from day one.
  • Your institution has a formal policy for staff account usernames (e.g., first initial + last name) that must be applied uniformly.
  • You plan to import employees in bulk and want usernames to be generated automatically without manual entry for each record.
  • Your institution uses a non-Latin script for employee names (e.g., Greek, Arabic, Cyrillic) and needs usernames to be transliterated automatically.
  • You are setting up a new branch or institution within a multi-institution environment and need a format specific to that institution.

 

Review or update this setting when

  • The institution changes its account naming policy.
  • Duplicate username collisions are occurring frequently (consider including more characters or adding a separator to increase uniqueness).
  • A new branch or institution with different naming requirements is being onboarded.
  • An integration with an external identity provider (e.g., Office 365, Google Workspace) requires a specific username format to be matched.

Note: Changing this setting only affects employee accounts created after the change is saved. Existing employee accounts retain their current usernames and are not renamed automatically.

 

Notes

 

Prerequisites

  • Employee records must have both a first name and a last name entered in order for the template to generate a valid username. If either field is missing or blank, the generated username may be incomplete.
  • If your institution integrates with an external identity provider (such as Office 365 or Google Workspace), verify that the username format you define here is compatible with that provider’s username rules before saving.
  • For institutions with a multi-institution setup (multiple schools on the same platform), consider also configuring the suffix setting to avoid username conflicts across institutions.

 

Related Settings

The following settings are found in the same location (Main Settings > General Settings > Security Settings > Accounts & Roles) and control username generation for other user types:

    • Student username format (Main Settings > General Settings > Security Settings > Accounts & Roles — SchoolPortal_Morfi_Onomatos_Xristi_Mathiti)
    • Teacher username format (Main Settings > General Settings > Security Settings > Accounts & Roles — SchoolPortal_Morfi_Onomatos_Xristi_Kathigiti)
    • Parent username format (Main Settings > General Settings > Security Settings > Accounts & Roles — SchoolPortal_Morfi_Onomatos_Xristi_Gonea)
    • Lecturer username format — Higher Education mode only (Main Settings > General Settings > Security Settings > Accounts & Roles)

The following setting is found in a different section and complements username formatting in multi-institution environments:

    • Append a suffix to the username account (Main Settings > General Settings > Security Settings > External Sync — SchoolPortal_Onomasia_Kentrou): Adds a fixed suffix to all generated usernames for a given institution, useful when multiple institutions share the same platform and need to ensure unique usernames across all of them.

 

General Remarks

  • Use the preview/test feature in the format dialog before saving, to verify that the generated username looks correct for your employees’ typical name data.
  • If employees at your institution commonly have compound first names or hyphenated last names, test those cases specifically in the preview.
  • The username generated by this setting is used for system login. It is separate from the employee’s display name and email address.
  • In Higher Education mode, academic staff (Lecturers) have a dedicated username format setting. This setting covers administrative and support staff only.

robertgarcia

Tom Alexandropoulos

tomalexandrop (truncated at 10 chars)

 

aschmidt1 (auto-incremented)

 

Was this article helpful?