I am trying to set some security using the APP PATH Command based on the MRE user logged.
-* GET THE USERLOGGED IN AND THE USER LEVEL
-TYPE USERLOGGED IN IS &MREUSER
-SET &CHARLEVEL= EDIT(&MREUSER,'$$$$9');
-TYPE ACCESS LEVEL IS &CHARLEVEL
TABLE FILE MYFILE
PRINT MYFIELD
WHERE READLIMIT EQ 10
ON TABLE HOLD AS H1
END
-RUN
-*SET THE APP PATH BASED ON THE LEVEL
APP PATH APP01
-* TRY DOING TABLE FILE AFTER THE LOCK
TABLE FILE MYFILE
PRINT MYFIELD
WHERE READLIMIT EQ 10
ON TABLE HOLD AS H2
END
-RUN
I was really hoping to see it execute the first request but fail on the second but looks like it did not change anything by looking at the messages.. USERLOGGED IN IS blah1 ACCESS LEVEL IS 1 0 NUMBER OF RECORDS IN TABLE= 10 LINES= 10 0 NUMBER OF RECORDS IN TABLE= 10 LINES= 10
Please advise..I need to able to force the users to look at specific app folders so they can only see that metadata and nothing else.This message has been edited. Last edited by: Kerry,