Add method to get users by their preference

Required by the Activity App

@DeepDiver1975 @PVince81 @icewind1991