We have need to map the NT0000000x id's to that actual users. Historically, we have used listusermap and pumped that to some custom table (we even developed a custom drill around in AP for ease of data access). However we have a couple of special wrinkles (i.e. also need employee number) which got me to wondering if it would be possible to pull the UID using a resource query and then convert that to the properly formatted NT0000000x id since all the NT0000000x really is the hexadecimal representation of the UID.
What I need to know is how to build a resource query to return the UID. Is this possible?