<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00009skz3wSAAOkta Classic EngineSingle Sign-OnAnswered2024-04-15T09:23:05.000Z2020-11-05T19:02:53.000Z2020-11-05T23:39:50.000Z

y78gz (y78gz) asked a question.

Application username custom format "Domain\" + AD SAM Account name

Hello,

I'm trying to create a custom username using SpEL but I am not able to make it work.

 

"DOMAIN\"+user.samaccountname -> Error Invalid property samaccountname

 

Does anyone know how to write this custom attribute?


  • y78gz (y78gz)

    I found the answer to this question, you have to use the following SpEL

    "DOMAIN\" + active_directory.samAccountName

    Selected as Best
  • y78gz (y78gz)

    I found the answer to this question, you have to use the following SpEL

    "DOMAIN\" + active_directory.samAccountName

    Selected as Best
This question is closed.
Loading
Application username custom format "Domain\" + AD SAM Account name