List of NT Users ina domain from running an application on an NT Client 
Author Message
 List of NT Users ina domain from running an application on an NT Client

I am using Access 97 on a Win Nt 4.0 client to run the code that u
were using.
How did u solve it. Any help will be highly appreciated. I am stuck
even though I haven't emails to lot of people about my problem but no
one has replied to me. Could u please help.

I am doing the following

I was trying to use Active Directory Type library: "activeds.tlb" I
also have the associated dll on the machine.
(I could not find it on NT4.0 desktop that I was working on and so I
copied it from Win2k machine and   have a Access application made a
reference to this activeds.tlb library and used the following code:

Set GroupObj = GetObject("WinNT://" & DomainString & "/" &

where I declared the variables as :
Global DomainString As String
Global GroupString As String
Global GroupObj As IADsGroup
Global UserObj As IADsUser

But it gives me an error at GetObject function : Automation error
-invalid syntax, Run time error -.

keep getting error message on the line Set domain =
GetObject("WinNT://" & szDomain & ",domain")
 Error: Run-time error '-2147221020 (800401e-4)': Automation Error
Invalid Syntax

Does this code not work on an NT4.0 machine for NT 4.0 server etc .
Could you help me, how do I use this ADSI that you talk about or is
this the same thing?
What will be the coding for me to get a list of names in a particular
NT user domain -Could any one of you send me the code that you have
I have the correct dll on the NT 4.0 client machine to use ADSI
Provider for NT 4.0.
What can I do. Brian I saw that u had the same problem a few years
back , could u let me know how u resolved it. I have also sent an
email to u on ur hotmail accnt.

Any help from anyone will be highly appreciated.
Note : The above syntax works perfectly well on a Win2k machine.
 All help will be highly appreciated and I am in an urgent need to do

Mon, 25 Oct 2004 04:36:05 GMT  
 [ 1 post ] 

 Relevant Pages 

1. NT Domain User List

2. User list from NT Domain - HELP

3. getting nt domain user list from VB5/6

4. how to access user list of a NT domain

5. Get User List from NT Domain

6. List of NT Domain Users

7. List of NT Domain Users

8. NT Domain User List

9. NT domain users list

10. List of NT Domain Users

11. How to find Users on an NT 4.0 machine using Nt client

12. COM Adding a user(account) on the nt database(user domain)


Powered by phpBB® Forum Software