Class PathAccessChecker
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
PathAccessChecker
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.Security.Internal
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
public static class PathAccessChecker
Methods
HasEditAccess(IPrincipal)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Checks for user access to the /edit pages.
Declaration
public static bool HasEditAccess(IPrincipal principal)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Principal.IPrincipal | principal |
Returns
Type | Description |
---|---|
System.Boolean |
HasPathAccess(String, IPrincipal)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Determines whether the contained principal has access to the specified path.
Declaration
public static bool HasPathAccess(string path, IPrincipal principal)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path to check. |
System.Security.Principal.IPrincipal | principal | The user to check access for |
Returns
Type | Description |
---|---|
System.Boolean |
|