Hello,
I would like to develop a tool to help me at defining user roles.
for example: A user wants to open the G/L account. He gets the message "You do not have permission to read table G/L Account..."
When this happens I would like for Navision to log this in a new table:
User-id Data Type No. Permission Denied
User1 table 15 Read
I've been looking for this in my spare time, but I don't believe it is possble.
TL DR: Is it possible to catch this error before it happens and log it?
Thanks in advance!
0
Comments
In the timer you can call the function GETLASTERRORTEXT and save it in a table.
Given the user has full access initially, you may try to use the OnDatabase... triggers to log access.
http://www.naveasysecurity.com/
http://mibuso.com/blogs/ara3n/2008/05/2 ... -navision/
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n