add ability to query for archived users in APIs