bob gailer wrote:
GoodPotatoes wrote:
:
for x in myuser.properties:# "myuser.properties" returns a tuple
of properties associated with the myuser AD object
print myuser.x
Traceback (most recent call last):
File "", line 2, in
print myuser.x
File "build\bdist.win32\egg\active_
GoodPotatoes wrote:
I am using the module active_directory and have an ad object called
myuser.
I would like to run a series of statements like:
myuser.attribute
where attribute is a string variable, but python says that this is not
the correct syntax.
error:
for x in myuser.properties:
GoodPotatoes wrote:
I am using the module active_directory and have an ad object called
myuser.
I would like to run a series of statements like:
myuser.attribute
where attribute is a string variable, but python says that this is not
the correct syntax.
error:
for x in myuser.properties:
I am using the module active_directory and have an ad object called myuser.
I would like to run a series of statements like:
myuser.attribute
where attribute is a string variable, but python says that this is not the
correct syntax.
error:
for x in myuser.properties:# "myuser.properties" r