Something like:

Const ADS_PROPERTY_CLEAR = 1

Use ADO to query you AD for the users' DistinguishedName
 
Then do:
objUserDN = objRecordSet.Fields("distinguishedName").Value
 Set ObjPath = getObject("LDAP://" & objUserDN)
 objPath.PutEx ADS_PROPERTY_CLEAR, "profilePath", 0
 objPath.SetInfo  'Do It Now
HTH
 
Sincerely,

Dèjì Akómöláfé, MCSE MCSA MCP+I
www.akomolafe.com
www.iyaburo.com
Do you now realize that Today is the Tomorrow you were worried about Yesterday?  -anon


From: Creamer, Mark
Sent: Fri 1/2/2004 1:52 PM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] setting TS properties

Reply via email to