WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

ADSI
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

dsAddToGrp and What is TESTTECH

Keywords: 	  dsAddToGrp

Question:

Here's straight from the Help file:
; NT example.
DsSetCredent("", "")

; User path
sUserPath= "WinNT://testtechdomain/testtech/hsimpson,user"

; Group path.
sGroupPath= "WinNT://testtechdomain/testtech/toons,group"
My questions is what is testtech? I understand that the syntax is "WinNT://DOMAIN/???/USERNAME,user". I keep getting the WIL Extender error: 1001 Bad ASDI path name.

I'm trying to use the DSAddtoGrp function.Any Suggestions? Thanks

Answer:

The "testtech" in the help file is the server's name. You may or may not need to use the server name depending on on your configuration. Also, make sure that both the use and group exist and make sure you have the correct credentials.
Article ID:   W14761
File Created: 2001:11:08:12:39:52
Last Updated: 2001:11:08:12:39:52