Resolve item access rights
Version: 10.4
Sitecore APIs operate in the context of a specific user with particular security access rights. Sitecore APIs may return Null or throw exceptions if the context user does not have a required access right. You can use a security user switcher or security disabler to work around access right limitations.
Note
Sitecore recommends that you provide the context user with the appropriate access rights instead of using a security user switcher or a security disabler.
The code examples in this document do not use a security user switcher or security disabler. This implies that the context user has the required access rights in order for the logic to succeed.