Skip to main content
.NET Framework 4.5.2+

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.v22.1.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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ISecurityUserWithRoles interface.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also