expression for " FirstLetter of FirstName + LastName + @gmail.com " Skip to main content
https://support.okta.com/help/answers?id=9062a000000qufuqak&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Anil AgAnil Ag 

expression for " FirstLetter of FirstName + LastName + @gmail.com "

HI Everyone,

I am new to this expressions and trying to build an expression for okta user name.
Can anyone help me in build an expression for Okta user name with the below format :-

Format  
   first letter of firstname + lastname + @gmail.com

Example :-

First Name = Tim
Last Name =  Perkins

Output for okta user name  should be   : "  tperkins@gmail.com "
D ED E
${f:toLowerCase(f:substring(user.firstName,0,1))}${f:toLowerCase(user.lastName)}@gmail.com
Anil AgAnil Ag
HI DE,

Thank you, Will try this.

Can we use this expression while mapping the attributes for application from which okta imports users ?
for example : workday ?