Hi,
I'm tryng to incorporate an AD script I run nightly to
list out what user has what login script.

When I refer to the obj.Fields("scriptPath") within AD I
get:

Item cannot be found in the collection corresponding to
the requested name or ordinal.

Which I am assuming is telling me the field doesn't exist
with in the user object. Is this a correct assumption? I
use the source class user and pull other attribute names
without a problem.

Any ideas on how to extract the user login script path
from AD?

Thanks

Paul

Active Directory User Login Script Path by Paul

Paul
Fri Aug 29 10:57:00 CDT 2003

Duh,
Forgot to include in the attributes to return in my LDAP
command.

"<LDAP://dc=mnpower,dc=com>;
(objectCategory=user);distinguishedName,name,whenCreated,ho
meDirectory,scriptPath;subtree"

Paul


>-----Original Message-----
>Hi,
>I'm tryng to incorporate an AD script I run nightly to
>list out what user has what login script.
>
>When I refer to the obj.Fields("scriptPath") within AD I
>get:
>
>Item cannot be found in the collection corresponding to
>the requested name or ordinal.
>
>Which I am assuming is telling me the field doesn't exist
>with in the user object. Is this a correct assumption?
I
>use the source class user and pull other attribute names
>without a problem.
>
>Any ideas on how to extract the user login script path
>from AD?
>
>Thanks
>
>Paul
>.
>