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 ShowCheckPermissionsPopup Method

Shows permissions check dialog.

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

    IUser ShowCheckPermissionsPopup(
    	string[] permissionCodes,
    	bool showConfirmPopupAnyway,
    	PermissionsCheckMode checkMode
    )

#### Parameters

permissionCodes
  Type:
  System
  String
  Permission codes for check.
showConfirmPopupAnyway
  Type: System
  Boolean
  If true, shows a popup anyway, otherwise shows a popup only if the user doesn't have permissions.
checkMode
  Type: Resto.Front.Api
  PermissionsCheckMode
  All permissions or at least one permission is required.

#### Return Value

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

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

See Also

#### Reference

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