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

Click here to load this message in the networking platform