OO 10.80, Easy way to get userEmailAttribute for logged in user ?

Hello community!

Does anyone knows an easy way to get the mail adress for logged in users? (Active Directory is configured)

If I get the ldap conf there is a "userEmailAttribute". Is it possible to test the ldap

conf against a specific user and in the result I'm getting the mail adress?

Many thanks in advance!

Robert