Able to Create Users with the same user IDs
search cancel

Able to Create Users with the same user IDs

book

Article ID: 378433

calendar_today

Updated On:

Products

CA Service Desk Manager CA Service Management - Service Desk Manager

Issue/Introduction

Users are being successfully created in Service Desk Manager even though the force_unique_userid is installed in the environment.

It is expected that an error is generated when trying to create a user with a user id that already exists.

When trying to create a user with an existing user ID, we expect an error to be generated saying:

Error 1 attempting to set userid to "<Duplicate User ID>": AHD05910:UserID entered needs to be unique.Multiple Active Contact records with the specified User ID credentials were found.

We recommend that you perform this task using the administrative service offerings to ensure that the changes you make are applied to all the products in the solution.

When investigating the nx.env file, we see that the force_unique_userid option is not present even though it is installed in under Administration > Options Manager > Security

The absence of this option in NX.env is expected. 

Environment

Service Desk Manager 17.4.x

Cause

The following files were missing in NX_ROOT\site\mods\majic

force_unique_userid.mod

force_unique_userid.spl

These files exist by default even if there are no related customizations.

Resolution

After restoring the missing files:

NX_ROOT\site\mods\majic\

  • force_unique_userid.mod
  • force_unique_userid.spl

The unique userid was enforced as expected

Additional Information