Re: What is the value of <not Set>?
- From: "James Whitlow" <jwhitlow@xxxxxxxxxx>
- Date: 28 Jun 2005 07:51:02 -0500
"SRowe" <SRowe@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DFE6FE01-6C7B-498D-ADAD-24DD29EE9EB7@xxxxxxxxxxxxxxxx
> I'm looking at the employeeID attribute in AD. By default it is <not set>,
> according ADSIEdit. How do you write an IF statement to determine if
> employeeID has been set?
I am not familiar with ADSIEdit, but most likely if there is no value set,
the value in a script will be Null, so you could use the IsNull statement.
If IsNull(employeeID) Then {some code}
.
- Follow-Ups:
- Re: What is the value of <not Set>?
- From: SRowe
- Re: What is the value of <not Set>?
- References:
- What is the value of <not Set>?
- From: SRowe
- What is the value of <not Set>?
- Prev by Date: Re: Invoking change password dialog box via scripting
- Next by Date: Re: copying event logs
- Previous by thread: What is the value of <not Set>?
- Next by thread: Re: What is the value of <not Set>?
- Index(es):
Relevant Pages
|