.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

ISecurityUserWithRoles Interface

Declares members of a class which is a Security System User with a collection of associated Roles.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.v21.2.dll


public interface ISecurityUserWithRoles


Support this interface in a class that should be used as a Security System User. If you do not want to implement this interface from scratch, inherit the XPO PermissionPolicyUser or EF 6/EF Core PermissionPolicyUser class.


You can use the UserWithRolesExtensions.IsUserInRole extension method with ISecurityUserWithRoles objects.

See Also