November Happy Hour will be moved to Thursday December 5th.

Class ContentAccessChecker

Inheritance
System.Object
ContentAccessChecker
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class ContentAccessChecker : Object

Constructors

ContentAccessChecker(IContentLoader, IPrincipalAccessor)

Declaration
public ContentAccessChecker(IContentLoader contentLoader, IPrincipalAccessor principalAccessor)
Parameters
Type Name Description
IContentLoader contentLoader
IPrincipalAccessor principalAccessor

Methods

HasSufficientAccess(ContentProvider, ContentReference, AccessLevel)

Declaration
public virtual bool HasSufficientAccess(ContentProvider provider, ContentReference contentLink, AccessLevel access)
Parameters
Type Name Description
ContentProvider provider
ContentReference contentLink
AccessLevel access
Returns
Type Description
System.Boolean

Extension Methods