My last attempt used the following js:
<JS>var account = account.get(); var accountOwner = account.getProperty( 'owner'); var ownerName = accountOwner.getProperty( 'name');</JS>
And resulted in the following error in trace.log:
org.apache.bsf.BSFException: Script interpreter error, line=1, col=111: Unknown member 'getProperty' in Java class 'java.lang.String'
The accountOwner variable has the owner DN but I think it needs to be of an specific object type.
Can someone help me figure out how to do this?
Thanks in advance!