Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADSI Null values
Message
From
13/11/2002 14:08:21
 
 
To
13/11/2002 13:48:19
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00722268
Message ID:
00722285
Views:
12
>Hi,
>
>
> I'm trying set a null value to a property in Active Directory:
>
>oUser.Put("profilePath", .NULL.)
>oUser.SetInfo
>
> But I could't to do this. In the MMC interface when I clear the
>value, it's set to null.
>
>Some one knows one way programatically for this?
>

It should be an empty string:
oUser.Put("profilePath", "")		
oUser.SetInfo
>
>
>
>Thanks in advance,
>
>
>Paulo
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform