LPS-46900 Improve performance when getting mapped IDs from users and use ID's when that's all we need
LPS-46900 Build Services
LPS-46900 Make the two methods more consistent with each other and fix compile errors