User Profile – Custom Attributes

ZTrust allows administrators to extend the default user profile by adding custom attributes such as Employee ID, Department, or Phone Number.

With the User Profile feature you can:

  • Define attributes at the realm level with validation rules.

  • Control whether fields are mandatory, optional, or read-only.

  • Decide where attributes appear: Admin Console, Self Service Portal, Registration form.

  • Ensure data consistency and validation across all users.

Steps to Create Custom Attributes

  1. Login to the ZTrust Admin Console.

  2. Click on Manage Realms in the sidebar to view the list of realms available in your ZTrust.

  3. From the list of realms, select the realm where you want to create custom attributes.

  4. In the left sidebar, under the Configure section, choose Realm Settings.

  5. In the Realm Settings section, click on the User Profile tab. This will display the list of available attributes.

  6. To create a new custom attribute, click on the Create Attribute button. This will open a new page.

  7. Configure the attribute:

    Field
    Description

    Name

    Internal key (e.g., employeeId)

    Display Name

    User-friendly label (e.g., Employee ID)

    Required

    Mark as mandatory if needed

    Permissions

    Choose who can view/edit :

    • Admin only

    • User (self-service)

    • Both

    Validations

    Add constraints:

    • Regex → e.g., ^[0-9]+$ for numeric IDs

    • Length → min/max characters

    • Options → dropdown values (e.g., IT, HR, Finance)

  8. After filling in all the mandatory fields, click the Create button.

Conclusion

User Profile attributes provide a structured way to manage custom fields. They can be customized with validations, permissions, and UI hints, and they automatically appear in the Admin Console, Self Service Portal, and Registration pages.

Last updated