code: public User findUserById(String userId) {
      return createUserQuery(org.camunda.bpm.engine.impl.context.Context.getCommandContext())
        .userId(userId)
        .singleResult();
    }
docs: Users /////////////////////////////////////////////////