added filterUids method to privileges

used to filter uids on a single category