0 votes

I'm having a hard time figuring out how to auto create usernames like such ABrown. I need the first and second letter to be cap. So first initial and last name work fine how i have it, but i cant figure out how to cap the first letter in last name...below is what i have now

%firstname:upper,1%%lastname:upper,1% which turns up Abrown

by (90 points)

1 Answer

0 votes
by (216k points)

Hello,

We recommend using the following expression: %firstname:upper,1%%lastname%. If this expression is used, the username will consist of the 1st letter of the first name (capitalized) plus the last name. If the last name starts with a capital letter, it will be capitalized.

Otherwise, if you need to force the first letter of the last name to be capitalized in the username, no matter which letter the last name starts with, you'll need to use a script and a Business Rule. If you want, we can help you with the script.

Related questions

0 votes
0 answers

We have a process to create unique usernames but it doesn't account for hyphens. We would like to remove the hyphens and continue to use first initial plus the first seven characters from the ... ($UNLT - 1), $UN.Length)) $UNName + ([int]$UNNum + 1) } } }

asked Dec 11, 2015 by tcarp (20 points)
0 votes
1 answer

On the Create User form, I'm trying to set some predefined fields to prepopulate the Last Name and Username fields. If I set just the Username field, it works fine ... changed to 'svc_@domain1' How do I predefine both fields, but keep the domain as @domain2?

asked Nov 8 by jmatthews (190 points)
0 votes
1 answer

How I can ignore a part of the lastname in username composition? Example: In the fullname "John da Silva", "da Silva", is the lastname, so, I need ignore the "da " in the composition of username, when I create the new user.

asked May 22 by fgmello (40 points)
0 votes
1 answer

hello i'm new with Adaxes i'm try to creat schuadle task to import a spefice user list by thier username id after that just update City for them by bulk updating . kinly advise

asked Aug 29, 2023 by sudox (20 points)
0 votes
1 answer

Using this built in function: There is no option to change the domain on the user account, however this is not the domain we use for UPN. However after creating a user, you can change it but trying to avoid going back into the object.

asked Apr 14, 2023 by mightycabal (1.0k points)
3,549 questions
3,240 answers
8,232 comments
547,814 users