Using Groovy to Retrieve Current Logged in User Name

 

One tip I found Useful, and I didn’t find enough resources talking about it, is how to populate a value of Entity Attribute or Binding Value with the current logged in user using Groovy

 

Simply use this: 

adf.context.securityContext.getUserPrincipal().getName()

Piece of cake :)

Comments