Hi,
I'm trying to get the email address of logged in user in vRO. From the community search I found the discusstion below.
I try to run the script but I got an error message. I try to modify it to see were I get stuck. I just run the script below with output name actionResult and type Array/AD:User. Script did not failed but value was empty, so it tells me that this could not find any user. What would be the reason for this?
id = Server.getCurrentLdapUser().displayName;
actionResult = ActiveDirectory.searchExactMatch("User", id);
If I only run "id = Server.getCurrentLdapUser().displayName;" returns correct value. I also validate that I can get an attribute of an AD user if I select the AD user as an input.
Thanks,
Haluk