Hi!
I´m an international student from Germany and currently at Massey Uni Auckland. I´m not an expert in programming and need some help (and hope to find it here).
My plan is to build a Login (for a System) and dependant on what user is logged in (e.g. a customer or the admin), the main menu-form should show different options. For that purpose I wanted to use the userSecurityLevel-property. Here is a small description:
"User Interface Security Support:
JADE includes facilities that enable you to tailor forms based on the security level of the user who
is currently signed on.
The app.userSecurityLevel is used to determine the security level of the user currently signed onto
the application. Valid values are in the range from 0 to Max_Integer with 0 being no security and
Max_Integer being the highest level.
The currentSession.userSecurityLevel property is used to determine the security level of the user
currently using a web enabled application."
My problem is now, that I cannot access the userSecurityLevel. I always get an error that the property is protected (I implemented the currentSession.userSecurityLevel:=... in the getAndValidateUser-method).
How can I access the userSecurityLevel-property or change it to public?
Is there maybe a better way to alter a form depenedant on what user is logged in?
Hope my description is not too confusing .
cheers & thanks!