V
Vince C.
Hi,
We have a W2K domain controller; it's a cluster. Users are defined in Active
Directory and I made sure they all have a First Name, a Last Name a Full
Name associated with their Display Name.
The following (java) script returns "User name: John Doe":
var pUser = GetObject("WinNT://MYDOMAIN/jdoe");
WScript.Echo("User name: " + pUser.FullName );
The following script throws an error "Property not present in the cache":
var pUser = GetObject("WinNT://MYDOMAIN/jdoe");
WScript.Echo("User name: " + pUser.FirstName );
I get the same error when I attempt to retrieve last names. Can anyone tell
me what's wrong?
TIA,
Vince C.
We have a W2K domain controller; it's a cluster. Users are defined in Active
Directory and I made sure they all have a First Name, a Last Name a Full
Name associated with their Display Name.
The following (java) script returns "User name: John Doe":
var pUser = GetObject("WinNT://MYDOMAIN/jdoe");
WScript.Echo("User name: " + pUser.FullName );
The following script throws an error "Property not present in the cache":
var pUser = GetObject("WinNT://MYDOMAIN/jdoe");
WScript.Echo("User name: " + pUser.FirstName );
I get the same error when I attempt to retrieve last names. Can anyone tell
me what's wrong?
TIA,
Vince C.