SecuritySystemRole.ParentRoles Property

Gets the current role's master roles list.

Namespace: DevExpress.ExpressApp.Security.Strategy

Assembly: DevExpress.ExpressApp.Security.v18.1.dll


public XPCollection<SecuritySystemRole> ParentRoles { get; }


Type Description

An XPCollection<SecuritySystemRole> collection which is the list of the current role's master roles.

The SecuritySystemRole roles can be organized in a hierarchical tree-like structure. The ParentRoles and SecuritySystemRole.ChildRoles properties define this structure. For instance, you can specify a set of low-level roles, and then associate them with high-level roles. These high-level roles can be assigned to users.