A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn 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.