get a user's mail from ms project in C #

Daniel Alfonso 1 Reputation point
2021-07-15T22:30:44.94+00:00

Hi,

I would like to know if it is possible through C # to obtain the email address of a user in project professional connected to project online with C #.

With this line, I have managed to get the username:

this.application.username

Is there a way to get the user's email address to incorporate it into an add-in in project professional?

Thank you and I hope you can help me.

Microsoft 365 and Office | Development | Other
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.