I made a menu with a multiple object selection, this "menu" the user can go to the folders. But I have some users who only have access to some folders, and I need to display the menu, only the folders that the user has access, to the user with Administrator permission, shows all the folders. Does anyone know how I do this?
I tried to do this: (but failed)
IF QVUser()='TODOS' THEN
TAB_MENU:
LOAD * INLINE [
MENU
DashBoard
Diário
Cliente
Representante
Produto
Filial
Gerencial
Evolução
Dispersão
Ramo,
Regiao,
Analitico,
Devolução,
Desvio Padrão,
Lead Time,
Dinâmica
];
ELSE
TAB_MENU:
LOAD * INLINE [
MENU
DashBoard,
Cliente,
Devolução,
Gerencial,
Produto,
Representante
];
[:)]