iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.UI
IViewManager Interface
IViewManager Methods
ChangeProgressBarMessage Method
ShowCalendarPopup Method
ShowCheckPermissionPopup Method
ShowCheckPermissionsPopup Method
ShowChooserPopup Method
ShowClosePopup Method
ShowDateNumpadPopup Method
ShowDateTimePopup Method
ShowErrorPopup Method
ShowExtendedInputDialog Method
ShowExtendedKeyboardDialog Method
ShowInputDialog Method
ShowKeyboard Method
ShowOkCancelPopup Method
ShowOkPopup Method
ShowQuantityChangerPopup Method
ShowRetryCancelPopup Method
ShowRetryIgnoreCancelPopup Method
ShowYesNoCancelPopup Method
ShowYesNoPopup Method

# IViewManager ShowCheckPermissionPopup Method

Shows permission check dialog.

Namespace: Resto.Front.Api.UI
Assembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    IUser ShowCheckPermissionPopup(
    	string permissionCode,
    	bool showConfirmPopupAnyway
    )

#### Parameters

permissionCode
  Type: System
  String
  Permission code for check.
showConfirmPopupAnyway
  Type: System
  Boolean
  If true, shows a popup anyway, otherwise shows a popup only if the user doesn't have permission.

#### Return Value

Type: IUser
Returns the user that verified the permission or null if permission is not verified.
Exceptions

Exception | Condition
--- | ---
ArgumentException | Permission not found.

See Also

#### Reference

IViewManager Interface
Resto.Front.Api.UI Namespace
IViewManager
ShowCheckPermissionsPopup(
String
, Boolean, PermissionsCheckMode)