It looks like you're trying to use the RemoteAdmin XMLRPC createuser command. This only works in standalone mode and
I'm not 100% sure it's currently working anyway.
However, it so happens that in grid mode an equivalent command is available on the UserAccount ROBUST service which
requires slightly different calling parameters and a config setting [1].
[1] http://opensimulator.org/wiki/UserAccountService#createuser
On 07/12/12 05:04, Diva Canto wrote:
And the password is not stored on the same table...
If you want to find out more about how to talk to the robust services, take a
look at OpenSim.Services.Connectors. If
you're using .NET you should be able to just reference that dll and use the
connector objects that already exist.
On 12/6/2012 8:40 PM, Kukuk Jacob wrote:
Hello everyone, so we are getting a grid setup and we are running into a slight
problem with registration of users. We
created a ASP.net HTTP XMLRPC POST that uses the method createuser but for some
odd reason it returns Requested method
[createuser] not found. We are running as a grid and using robust. Here is what
we are working with.
protected void join_btn_Click(object sender, EventArgs e)
{
CreateUser(new Uri("http://localhost:8003/"), "null", first_txt.Text,
last_txt.Text, pass_txt.Text,
email_txt.Text, 1000, 1000);
}
public void CreateUser(Uri url, string adminPassword, string firstName,
string lastName, string password, string
email, int regionX, int regionY)
{
var address = Dns.GetHostEntry(url.DnsSafeHost).AddressList[0];
var ht = new Hashtable();
ht["user_firstname"] = firstName;
ht["user_lastname"] = lastName;
ht["user_password"] = password;
ht["PrincipalID"] = "3a1c8128-908f-4455-8157-66c96a46f75e";
var parameters = new List<Hashtable> { ht };
var rpc = new XmlRpcRequest("createuser", parameters);
rpc.Invoke(url.ToString());
}
_______________________________________________
Opensim-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-dev
_______________________________________________
Opensim-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-dev
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
_______________________________________________
Opensim-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-dev