In my company's Nav5 system someone may give roles by going to Tools>>Security>>Windows Logins, then find the user and then click the Roles button which opens up a Roles form containing roles for the specific user. I want to add this functionality to the User Setup card. I want to modify the User Setup form to also have a Roles button. But I do not know how to call the Roles form in code. I can't find the Roles form in the Object Designer. I guess the Roles form is a system form. Anyone know how to call it?
0
Comments
"Nice to have" features always lead to later problems.
I'm currently working on a 500+ user system. It's just a thing that has to be done every time. Take a moment and think about why there is no such button by design. Accept it!
rhpnt is giving you good advise, you should use it and thank him.
My Blog - nav.education
RIS Plus, LLC
RIS Plus, LLC
http://www.mibuso.com/dlinfo.asp?FileID=277
Although it was built on an earlier edition of NAV, I've used it for NAV 5.0 and NAV2009 - works fine.
It has a variety of forms forms, including one that shows the roles for a single user. Of course, the permission for the user who RUNS the form must have access to the appropriate tables.
The idea was for a new button on the User Setup form that when clicked would call the Roles form. I had no plans to hack code, unless calling the Roles form is hacking because it can't be found in the Object Designer.
The responses in this thread show me that the Roles form cannot be called.
No, but you can create your own "Users" form and your own "Roles" form, and call your own Roles form. That's precisely what the addon in the downloads section does.