Err...no.

I run a tool on my PC which audits the many NT domains that I have a trust in place for.

This is a requirement because as our company is a subsiduary of a parent which is based in the US we have to comply with Sarbanes-Oxley (thank-you dear cousins for that one!).

This tool will be run on a regular basis, probably on Friday night as it can take a very long time to run due to many of the trusted domains and domain controllers being located at the end of slow international links.

I was interested in a way of identifying the (say) Administrators group for each domain as it was being audited.

I came across various tools including your own, but I was keen to avoid any additional installations as I just want to be able to distribute the script to users who need it.

I can get hold of the SID during the audit process, but as this is a byte array I thought I was stumped.

This requirement has forced me to to develop a method of converting byte arrays to integer arrays (and back again) which may be of general interest to the community which should solve my immediate need

I'll post the UDFs shortly...