<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
System Status
Announcements
Announcements
Search
Search
Select Language
0D51Y00007yoUiwSAEOkta Classic EngineSingle Sign-OnAnswered2024-04-26T23:21:08.000Z2020-03-04T15:57:37.000Z2020-03-04T20:49:04.000Z

LuisG.20493 (Customer) asked a question.

Custom Application username format if expression

I want to populate a custom attribute on the OKTA user profile with an "alternate userID", but not for all users.

 

I want the custom application username format expression that will use the "alternate userID" if not null, but move on to use the "samAccountName" if null.

 


  • bc221 (bc221)

    Hi Luis,

     

    You cannot have Okta User profile attribute for few users. it's like for all or for none. But you can have null value for that custom attribute "alternate userID" for few users and other users can have value derived from expression or static value based on your requirement.

     

    I didn't understand your second question completely so cannot comment on that. are you looking for an expression ? you can learn Okta's Expression Language by visiting https://developer.okta.com/docs/reference/okta-expression-language/

    Expand Post
This question is closed.
Loading
Custom Application username format if expression
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply