London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class ContentAccessChecker

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
ContentAccessChecker
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
[ServiceConfiguration(typeof(ContentAccessChecker), Lifecycle = ServiceInstanceScope.Singleton)]
public class ContentAccessChecker

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