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

SSO and getting current user email

$
0
0

So, before upgrading to 5.1 and the SSO, this used to work:

 

 

var ldapUser = Server.getCurrentLdapUser();
var adminEmail = ldapUser.emailAddress;
System.log("Admin email: " + adminEmail);
It no longer works. I can see that the ldapUser variable is being filled out. However, it looks like it cannot retrieve the email address.
I suspect this has to do with the SSO authentication (I am using SSO rather than LDAP now)
I looked to see if there was a SSO-related function in the API, but if there is I missed it.
anyone have any ideas how to get the current users email address with 5.1?
Thanks
Jason

Viewing all articles
Browse latest Browse all 6251

Trending Articles



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