Hi all.
Is there a function that can return if the user has permission on an object, other than a record (e.g form, report, codeunit)?
For example, to find out if a user has permission on a table, you would use READPERMISSION. Is there a similar way for the other objects (forms, reports codeunits)?
We have created a report that is a substitute to one of the standard reports. Some customers have access to this report and some others don't (because of the license each one has). We have a button on the Customer Card and we want to check if the user (through the license) has access to this object. If he has, show our report, otherwise, show the standard report. Right now, if the user does not have permissions, Navision displays the message "You do not have permission..." and displays nothing.
What can we do ?
Thank you in advance
Jorgito
0
Comments
I can search in the License Permission table to find if the license has permission on an object.
Thanks a lot
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.