Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restricting menu access
Message
From
15/10/2001 13:20:27
Sasha Burkich
Senior Systems Analyst
British Columbia, Canada
 
 
To
15/10/2001 12:00:31
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00568547
Message ID:
00568633
Views:
22
This message has been marked as the solution to the initial question of the thread.
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.
Sasha Burkich
Consultant
Victoria, BC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform