This would just require that you call the GetPermission method within your application before allowing someone to apply a 100% discount. For example, if you have a button that allows this to happen, you could hide or disable the button or link when the form is being initialized (Load or Constructor). You could also place this logic when the button or link is clicked and show a message if they do not have permission.If Not SecurityBasics.CurrentUser.GetPermission("100% Discount").Action = PermissionAction.Grant Then
MyDiscountButton.Enabled = False
End If