How do we get a `User `instance using Account hypi id?

When a user logs in, we get

  1. AccountHypi Id
    How do we get a Userinstance using Account hypi id? User Instance is accessed by
  2. User hypi id and I have only Account hypi id

Change the arcql query to search foraccount.hypi.id = '<account id>' that will return the User for the account.