• You will need to write custom script to access the active directory, this site has something similar to what you are doing..

    http://www.mssqltips.com/tip.asp?tip=1657