Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

User's mail in PDK for .NET

Hi everyone,

I'm trying to get the email addresses of users in a iview that is developed in PDK.NET.

The problem is the userinfo class doesn't have this info (just first name, last etc).

Anyone has an idea how to get the user's mail?



Former Member

try this :

SAP.Portal.Services.UserManagement.UserManagement um = new SAP.Portal.Services.UserManagement.UserManagement();

SAP.Portal.Services.UserManagement.UserInfo userIf = um.GetUser(this.User.Identity.Name);

string email = userIf.Email; // user email

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question