Skip to main content
.NET 6.0+

SecuritySystemRoleBase Class

An abstract base class for security roles.

Namespace: DevExpress.ExpressApp.Security.Strategy

Assembly: DevExpress.ExpressApp.Security.Xpo.v23.2.dll

Declaration

[MapInheritance(MapInheritanceType.ParentTable)]
public class SecuritySystemRoleBase :
    SecuritySystemTypePermissionsObjectOwner,
    ISecurityRole,
    ISecuritySystemRole

Remarks

In XAF applications, permissions are not assigned to a user directly. Users have roles, which in turn are characterized by a permission set. So, each user has one or more roles that determine what actions can be performed. The list of users associated with the current role is exposed via the Users property.

Refer to the How to: Implement Custom Security Objects (Users, Roles, Operation Permissions) topic to see an example on implementing a custom Role.

Inheritance

Object
PersistentBase
XPBaseObject
XPCustomObject
DevExpress.ExpressApp.Security.Strategy.SecuritySystemTypePermissionsObjectOwner
SecuritySystemRoleBase
See Also