IViewManagerShowCheckPermissionsPopup Method |
Shows permissions check dialog.
Namespace:
Resto.Front.Api.UI
Assembly:
Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax IUser ShowCheckPermissionsPopup(
string[] permissionCodes,
bool showConfirmPopupAnyway,
PermissionsCheckMode checkMode
)
Parameters
- permissionCodes
- Type: SystemString
Permission codes for check. - showConfirmPopupAnyway
- Type: SystemBoolean
If true, shows a popup anyway, otherwise shows a popup only if the user doesn't have permissions. - checkMode
- Type: Resto.Front.ApiPermissionsCheckMode
All permissions or at least one permission is required.
Return Value
Type:
IUserReturns the user that verified permissions or null if permissions is not verified.
Exceptions See Also