Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Saviynt Username logic - Need to restrict lowercase letters

JB
Regular Contributor
Regular Contributor

Hello Team,

We are generating a 7 digit code in Saviynt using “Add Register User Rule” (OOTB feature – Global config)

Ex: aE406aa, wf494aa, QH743aa

We need only Upper case letters in generated code, currently we are getting both upper case and lower case letters. Is there any option available ?

JB_0-1693246547330.png

Regards,

JB

[This post has been edited by a Moderator to remove sensitive information.]

1 REPLY 1

rushikeshvartak
All-Star
All-Star

upper(concat(SUBSTRING('abcdefghijklmnopqrstuvwxyz' FROM FLOOR(RAND() * 26) + 1 FOR 1),
SUBSTRING('abcdefghijklmnopqrstuvwxyz' FROM FLOOR(RAND() * 26) + 1 FOR 1),LPAD(FLOOR(RAND() * 100), 2, '0') ,SUBSTRING('abcdefghijklmnopqrstuvwxyz' FROM FLOOR(RAND() * 26) + 1 FOR 1),
SUBSTRING('abcdefghijklmnopqrstuvwxyz' FROM FLOOR(RAND() * 26) + 1 FOR 1))


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.