function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JJE_OLDJJE_OLD 

UserInfo.getUserEmail

Hi,

 

I see in Idea the the UserInfo.getUserEmail() function will be delivered in spring 13.

https://success.salesforce.com/ideaView?id=08730000000BpR9AAK

But I updated my eclipse plugin and still cannot see it, nor in the documentation.

Did I miss something? Is there something else to do to get the new functionnalities?

 

regards,

PremanathPremanath

Hi,

 

  It's working good Actually.

  If you want you can test in your Developer console

 

 System.Debug('============='+UserInfo.getUserEmail());

 

Prem 

 

JJE_OLDJJE_OLD

Well, what about eclipse?

PremanathPremanath

I have tested it in one Class using Eclips

 

It saving without Error, What's your problm

i just tried like this in class using Ecllips

 

String s=userinfo.getUserEmail();

 

 

 

Prem

 

JJE_OLDJJE_OLD

You are right, it appears to save.

I checked the documentation and have a look at the completion list on UserInfo and it doesn't appears in any of them so I thought it wasn't there.

 

Thank you