Acquire array of queries id given type.
Returns array of IDs of all queries of given type defined for the current user (associated with the connection to the Administration Server).