Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Getting AD User attributes using plugin

$
0
0

Hello,

I Used to use the:

requester = Server.getCurrentLdapUser().displayName;
requesterToAddress = Server.getCurrentLdapUser().emailAddress;

 

But now with VRO 6.03 with AD plugin 2.0.3.2824604 the .emailAddress does not work anymore.

 

I found this link written by Burke (http://www.vcoteam.info/articles/learn-vco/273-how-to-get-active-directory-user-properties.html) that seems to put me on the right path. 

 

My issue is I get an error when I run this.  I get the very first attrib (userPrincipalName) and then I get "[B cannot be cast to java.lang.String (Workflow:TEMP_getAdUserAttributes / Scriptable task (item1)#6)"

 

Any ideas?

Thanks

B


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>