code: def getUserName(self):
          
          if not self._server_side:
              return
          mech = self._authenticator.current_mech
          return mech.getUserName() if mech else None
docs: Return the authenticated user name (server side).