IsPermitted Method

Assembly: EPiServer (in EPiServer.dll) Version: 10.10.4.0 (10.10.4.0)

Determines whether the specified principal has this permission.

Syntax:

C#
public abstract bool IsPermitted(
	IPrincipal principal,
	PermissionType type
)

Parameters:

principal

Type: System.Security.Principal.IPrincipal

The principal

type

Type: EPiServer.Security.PermissionType

The permission type

See Also