Skip to main content
.NET 6.0+

SecurityStrategy.IsGranted Method

Name Parameters Description
IsGranted(IPermissionRequest, IPermissionPolicyRole) permissionRequest, targetRole Checks whether the specified role allows a user to make an operation.
IsGranted(IPermissionRequest, IPermissionPolicyUser) permissionRequest, targetUser Checks whether the specified operation is allowed for the target user.
IsGranted(IPermissionRequest) permissionRequest Checks whether the specified operation is allowed.
IsGranted(IList<IPermissionRequest>) permissionRequests Checks whether the specified operations are allowed.