Skip to main content
.NET Framework 4.5.2+

Role.ParentRoles Property

Gets the current role’s master roles list.

Namespace: DevExpress.Persistent.BaseImpl.EF

Assembly: DevExpress.ExpressApp.Security.EF6.v22.2.dll


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

Property Value

Type Description

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


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