Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

how to get the Episerver page last updated user email address

Vote:
 

Hi,

I'm creating the Episerver application using Episerver CMS R2.

I'm new to episerver. how to get the Episerver page last updated user email address.

Thanks,

Florence A

#25540
Oct 29, 2008 11:10
Vote:
 

Hi

If I understand you correctly you want the email address of the user that last changed a page. If you have a PageData object called page you could do the following:

string email = EPiServerProfile.Get(page.ChangedBy).Email;

Regards

Per Gunsarfs
EPiServer CMS development team

#25552
Oct 29, 2008 17:30
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.