>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é