Oh, and you might need the Adsras.dll file in the ADSI SDK if you want to set privileges.

Ref: Cannot Grant Dial-in Access to a User from an ADSI Script (Q252398)

[ 29 June 2002, 01:39: Message edited by: Chris S. ]