IViewManagerShowCheckPermissionPopup Method |
Shows permission check dialog.
Namespace: Resto.Front.Api.UIAssembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
SyntaxIUser ShowCheckPermissionPopup(
string permissionCode,
bool showConfirmPopupAnyway,
string cancelBtnText = null
)
Parameters
- permissionCode String
- Permission code for check.
- showConfirmPopupAnyway Boolean
- If true, shows a popup anyway, otherwise shows a popup only if the user doesn't have permission.
- cancelBtnText String (Optional)
- Cancel button text.
Return Value
IUserReturns the user that verified the permission or null if permission is not verified.
Exceptions
See Also