Ruud

Would be very nice feature if you could make the SidToName() function "domain aware", that is to say - be able to prefix the SID with a domain or DC hostname, or maybe a second optional parameter:

?"Name=" SidToName("domain\S-1-5-21-2129867641-1448237841-168566570-242471")

?"Name=" SidToName("\\server\S-1-5-21-2129867641-1448237841-168566570-242471")

I'm aware that the domain is encoded as part of the SID itself, but cross-domain lookups don't seem to work with Kixtart. For example, comparing this feature to the sidtouser exe utility, the syntax is:

sid2user \\server 5 21 1231625022 1405226785 483988704 4652

-Shawn