Knowledgebase: Managing permissions
give authorization based on business rules
Posted by Jean-jacques Jouanneaux on 26 August 2010 02:07 PM

How can we give authorization based on business rules, e.g. Limited time access to a feature (subscription)?

You can define a condition in a VG action to compare a subscription date with the current date.
You can also update a property with an expression like:
cb_save.visible = (limitDate > System.Datetime.Today).

In this case, cb_save remains visible as long as the current date does not exceed limitDate.


Visual Guard .NET

(0 vote(s))
Helpful
Not helpful

Comments (0)
Help Desk by Novalys