Re: IF statement help..
- From: dankennedy24@xxxxxxxxx
- Date: 28 Aug 2006 00:06:53 -0700
I guess that's part of the problem... how do you write an LDAP query to
determine if a user account is mail enabled? From looking at the LDP
record it doesn't seem like the Exchange fields are there so how could
I say "if field exists for user"?
Thanks,
Dan
Steven Burn wrote:
If objMember.Class = "user" AND (<LDAP query>) Then
... do something
End If
--
Regards
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
Keeping it FREE!
<dankennedy24@xxxxxxxxx> wrote in message
news:1156746774.583541.293580@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
How can I make the following line go from
"if the class field of objmember is equal to user" then....
to
"if the class field of objmember is equal to user AND if the LDAP field
named mail exists in the record" then....
Here's my current if statement:
If ObjMember.Class = "user" Then
I ran into an issue in a result set where I captured user records and
asked my script to return the mail field but the mail field didn't
exist and that blows up my script.
Any help is appreciated.
Thanks,
Dan
.
- Follow-Ups:
- Re: IF statement help..
- From: Richard Mueller
- Re: IF statement help..
- References:
- IF statement help..
- From: dankennedy24
- Re: IF statement help..
- From: Steven Burn
- IF statement help..
- Prev by Date: Re: IF statement help..
- Next by Date: determine lines in array
- Previous by thread: Re: IF statement help..
- Next by thread: Re: IF statement help..
- Index(es):
Relevant Pages
|