rickyman32 Posted December 15, 2008 Share Posted December 15, 2008 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 More sharing options...
VicToMeyeZR Posted December 15, 2008 Share Posted December 15, 2008 You are using this local to the tcadmin main install web folder? Link to comment Share on other sites More sharing options...
rickyman32 Posted December 15, 2008 Author Share Posted December 15, 2008 I'm using it local, but I would like it if I didn't need to put it in the web folder. Link to comment Share on other sites More sharing options...
VicToMeyeZR Posted December 15, 2008 Share Posted December 15, 2008 local to your machine? or the tca install? Why don't you just use the API feature for this type script? Link to comment Share on other sites More sharing options...
rickyman32 Posted December 17, 2008 Author Share Posted December 17, 2008 I think I figured everything out, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.