/// <summary> /// Get user permission for a menu / form /// </summary> /// <param name="frmName"></param> /// <param name="MenuName"></param> /// <param name="add"></param> /// <param name="edit"></param> /// <param name="delete"></param> internal static void GetPermissions(string frmName, string MenuName, out bool add, out bool edit, out bool delete) { add = NBConfig.CheckPermission(MenuName, frmName, "add"); edit = NBConfig.CheckPermission(MenuName, frmName, "edit"); delete = NBConfig.CheckPermission(MenuName, frmName, "delete"); }