Skip to main content
.NET 6.0+

Role.ParentRoles Property

Gets the current role’s master roles list.

Namespace: DevExpress.Persistent.BaseImpl.EF

Assembly: DevExpress.ExpressApp.Security.EF6.v24.1.dll

Declaration

public virtual IList<Role> ParentRoles { get; set; }

Property Value

Type Description
IList<Role>

An IList<Role> collection which is the list of the current role’s master roles.

Remarks

The Role roles can be organized in a hierarchical tree-like structure. The ParentRoles and Role.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.

See Also