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

Get email address from AD user

$
0
0

Hi

 

I want to get the email address from an AD user account.

 

My code is this:

 

var email = User.getAttribute(mail);

 

And I receive this error: [2015-01-20 15:45:14.050] [I] ReferenceError: "mail" is not defined.

The email is active in AD and I can also see it in the Orchestrator plugin

2015-01-20_1540.png

 

When I get all the attributes of the AD user I can see this:

 

[2015-01-20 15:48:34.615] [I] ADAttribute:CN=Jonathan***,OU=Virt,OU=Users,OU=****,DC=pocvirtual,DC=local!@@$$!mail

 

Can anybody help me please?

 

 

Jonathan


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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