Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restricting menu access
Message
From
15/10/2001 13:34:38
 
 
To
15/10/2001 13:20:27
Sasha Burkich
Senior Systems Analyst
British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00568547
Message ID:
00568647
Views:
17
>This is what I have in menu File/Edit User Accounts in Skip For:
>
>NOT(m.goApp.oSecurity.HasPrivilege('Administrator') OR m.goApp.oSecurity.HasPrivilege('Developer'))
>
>
>'Administrator' and 'Developer' are the names of groups you define yourself.
>
>HTH,
>
>Sasha
>
>
>>>>VFP 6.0
>>>>CodeMine 6.1.19
>>>>
>>>>How do I restrict access to certain menu items based on the group a user belongs to or its privileges?
>>>
>>>You should set "Skip For" for those menu items to the corresponding expression which defines their rights to it.
>>
>>The thing is that I'd like to know how to access the security objects in CodeMine in a menu item so that I'll be able to do that skip for.

Before I left for lunch I was beginning to look at a way to do it through GoApp. What was left was to find the path to use.

Thank you Sasha!
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Reply
Map
View

Click here to load this message in the networking platform