Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADSI Null values
Message
De
13/11/2002 14:08:21
 
 
À
13/11/2002 13:48:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00722268
Message ID:
00722285
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform