Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SecuritySystem Class

The static class that defines the XAF security system.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public static class SecuritySystem

#Remarks

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:

Tip

You can also use the IsGrantedExtensions class methods to check whether or not the user has permissions to access a particular object. These methods do not require an IPermissionRequest object.

The XAF 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.

#Inheritance

Object
SecuritySystem
See Also