Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Can we use user registration form attributes in username generation rule?

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 6 2022 at 11:33 UTC

Hi Everyone,


We have different user types and the username generation rule should be different for all of them.

For ex, for employees, it is calculated using their first name and last name.

But for other type, it should be one of the dynamic variable values provided in the user registration form.

Is it possible to use the form dynamic variable in username generation rule?

If yes, how to achieve that? Can you give an example?

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
7 REPLIES 7

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 7 2022 at 19:10 UTC

Hi Sakshi,


You could try with a sample shared below in the advanced query feature. 


case when (users.employeeType Like 'Employee') then concat(users.firstname,users.lastname) when (users.employeeType Like 'Contractor') then concat(users.lastname,users.firstname) else users.systemUserName End


It may not be syntactically correct at this time but this is just to give you an idea on how you can generate username based on employeeType.




Regards,

Avinash Chhetri



This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 20 2022 at 11:17 UTC

As per the engineering team, the advanced query feature for username generation isn't functional.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 26 2022 at 15:44 UTC

What version are you on ?



Regards,

Avinash Chhetri

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 26 2022 at 15:55 UTC

v5.5SP3.9.18

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 28 2022 at 15:50 UTC

Sakshi,


Under Global Config > Identity Lifecycle > Add Register User Rule do you atleast see an option as shown below ?





Regards,

Avinash Chhetri


This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on January 28 2022 at 16:16 UTC

Hi,


Yes, I see this option.


Saviynt support team replied on the ticket that Advanced Config button is visible on UI for register user rule but it is not functional and doesn't work on the backend.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on February 2 2022 at 14:37 UTC

Hi Sakshi,


I believe you have already tried an it is not working. Perhaps it is a limitation on the version that you are on.




Regards,

Avinash Chhetri

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.