I'm trying to use the following line in a VBS script to find out if an extensionAttribute has been populated.
'see if the user has confirmed the details
if obj.Get ("extensionAttribute13") <> "" then
the problem is that the script will fail with the following error when it hasnt been populated.
C:\Scripts\login_prompt.vb
s(24, 17) Active Directory: The directory property can
not be found in the cache.
line 24 is the if statement.
any ideas how to get around this?
Matt
Start Free Trial