
CédricG.02156 (Customer) asked a question.
Hi,
How can i get with expression language the firstName of the manager of a Okta mastered user?
I've tried with:
user.getLinkedObject('manager').firstName
but that is giving 'null' as result...
Thank you in advance!

What is the source you are getting the attribute data from? HR? AD?
Hi Cedric,
If your source of true is AD, then you can get the manager first name by using this expression: getManagerUser("active_directory").firstName.
However, if you have any other source of true, you should use getManagerUser(your_source_of_true).firstName.
Hopefully this helps you out!
Mm, Thank for the reply, but I've tried getManagerUser(your_source_of_true).firstName doesn't seem to work.
I read in the documentation it only appears to work when active_directory is your source of thruth... any other ideas?