IsVisibleOnSite() vs CheckPublishedStatus(PagePublishedStatus.Published)


Hello all,

could anyone explain the difference between 2 or reference some article? What is "best" to use if I want to check that the page is not expired at the moment of the check?

Thank you!

Dec 01, 2020 13:14

I believe the former is also check for access rights of the current user. the latter does not

Dec 01, 2020 14:24
* 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.