Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restricting menu access
Message
De
15/10/2001 13:34:38
 
 
À
15/10/2001 13:20:27
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00568547
Message ID:
00568647
Vues:
18
>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é
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform