On 22/02/2011 06:11, Jesse Kretschmer wrote:
i wish to unset a com object value. Specifically in active directory.
I have been using Tim Golden's active_directory module to connect to a
user object.
I have tried setting the value to '', None, and even chr(0). I am at a
loss.
[For those fol
My mistake, I did not check...
Thanks for the quick fix,
Cheers,
B.
On 21-02-11 01:52, "Mark Hammond" wrote:
>On 15/02/2011 9:47 PM, B Kobben wrote:
>> Mark, in the beginning of this thread you said:
>>
>>> I will check that into cvs
>>> so the next pywin32 version will have that fixed.
>>
>> Bu
>
>
> import active_directory as ad
>
> me = ad.find_user ()
> me.PutEx (1, "telephoneNumber", "IRRELEVANT")
>
>
>
> This should clear the telephoneNumber field; the first
> param to PutEx is one of: Clear, Update, Append, Delete;
> the second param is the field name; the third is usually
> the v
On 22/02/2011 5:07 PM, Jesse Kretschmer wrote:
This is exactly what I was looking for. I did a bit of searching and found
the typical values for the first parameter:
ADS_PROPERTY_CLEAR = 1
ADS_PROPERTY_UPDATE = 2
ADS_PROPERTY_APPEND = 3
ADS_PROPERTY_DELETE = 4
from: http://www.winvistatips.com/c