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: 11.20.7Syntax
[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 |