Jump to content

How do I use the scripts?


rickyman32

Recommended Posts

I am trying to create a new user, I am using vb.net. I added the TCAdminSDK.dll, TCAdminBase.dll, TCAdminLib.dll. Here is the code i'm using.

 

Dim newuser As New TCAdminSDK.Objects.User
       newuser.UserID = "test"
       newuser.Password = "password"

       newuser.FirstName = "test"
       newuser.LastName = "user"

       newuser.Email1 = "testing@clanplanet.co.uk"

       newuser.Type = TCAdminSDK.Objects.UserType.User

       newuser.Save()

 

It's also making me run the program from the web folder. And with I run it I get a "unable to connect to server" error. I'm not sure what i'm doing wrong here.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 6 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use