Getting Email Id based on User Name
We have a requirement to get email Id based on user name in PCS? e.g If I get username like Kunal Sonje, I need to get email id of Kunal .
We will be getting username as a form input.
Thanks in advance.