Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADSI Objects
Message
From
26/03/2001 17:20:13
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00488611
Message ID:
00488726
Views:
24
>> I need to be able to retrieve and set properties like Employee-ID, etc.
>
>Maybe you're thinking too hard about it. :-)
>
oGroup=GETOBJECT('WinNT://REDMOND/Administrators')
>oGroup.add('WinNT://Redmond/mikestew')
>Release oGroup
>oUser=GETOBJECT("WinNT://REDMOND/mikestew")
>oUser.employeeid='1234'
That doesn't work for me. I changed the domain and user name in your example and I can create the object, but when I try to display the oUser.employeeid property I get "Active Directory property cannot be found in the cache".
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform