interface SessionManager {
  Session getSessionForUser(DOMString username);
  readonly attribute unsigned long sessionCount;
};

interface Session {
  readonly attribute DOMString username;
  // ...
};

interface SessionManager2 {
  Session2 getSessionForUser(DOMString username);
  readonly attribute unsigned long sessionCount;
};

interface Session2 {
  readonly attribute DOMString username;
  // ...
};

interface SessionIterator {
  readonly attribute unsigned long remainingSessions;
};
