Logo 
Search:

Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

spuser email address

  Asked By: Mahesh    Date: Apr 15    Category: Sharepoint 2010    Views: 5838

Hi all,
In my project i have one requirement i need to iterate all the users of mysite(user profiles) it is going good.
at that time i need to get the email id of the every user for this i wrote like this

SPUser mailuser = webs.CurrentUser;
string mailid= mailuser.Email;

but i am getting the administrator id every time.

Pls help me?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on spuser email address Or get search suggestion and latest updates.




Tagged: