A newer version of this page is available. Switch to the current version.

SecuritySystem Class

The static class that defines the XAF security system.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll


public static class SecuritySystem


The SecuritySystem class provides the methods that implement the basic security system functionality. When the current end-user tries to access an object, the security system is asked whether there’s permission to do it. It is assumed that end-users differ from one another by their type, which means that they have a different permission set. Based on that, the SecuritySystem allows the following:

The eXpressApp Framework enables you to use different Security Strategies. The SecuritySystem actually delegates its functionality to the currently used Strategy. For instance, when you call the Security System’s Demand method, the Security Strategy’s Demand method is actually invoked. This allows you to implement business application features independent of the current Security Strategy, using only the Security System’s methods and properties.


See Also