How to access adf.context.getSecurityContext() values
Summary
adf.context.getSecurityContext()?.getUserProfile() is not populating when used in groovy scriptContent
Hello,
I am trying to get User Profile values and the use them inside Object Triggers of a Business Object. Used sample script to print the values, but apart from adf.context.getSecurityContext()?.getUserName() none of the other functions returned any value. The attributes are populated against the User Account.
As these functions are available in UI for section, I was expecting that these values can be used inside Groovy Script.
Is there any additional steps required to access these values? Code snippet is added below.
Tagged:
0