Declares members of a class which is a Security System User with a collection of associated Roles.
public interface ISecurityUserWithRoles
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 PermissionPolicyUser class.
You can use the UserWithRolesExtensions.IsUserInRole extension method with ISecurityUserWithRoles objects.