IsVisibleOnSite() vs CheckPublishedStatus(PagePublishedStatus.Published)

Vote:
 

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!

#231548
Dec 01, 2020 13:14
Vote:
 

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

#231552
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.