在我的控制器中,我有这个函数,它调用一个实用函数来将所有从属用户获取到当前登录的用户:
public string getUsers() {
  Set<Id> userlist = new Set<Id>();
  userlist.add(UserInfo.getUserId());
  userlist.addAll(RoleUtils.getRoleSubordinateUsers(UserInfo.getUserId()));
  String retValue = ':All;';
  Integer iCount = 0;
  for (User usr: [select Name from User where Id in :userlist and isActive = true and      Employee_Group__c like '%Sales%' order by Name]) {
    retValue += usr.Name + ':' + usr.Name;
    iCount++;
    if (iCount < userlist.size()) {
       retValue += ';';
    }
  }
  return retValue;
}
如何在我的 VFPage中显示retValue用户列表?SelectList