community.createUserAccount

Give you the possibility to create an account for your user in one click.

Signature:

XmlRpcStruct community.createUserAccount(XmlRpcStruct parameters, String userMail)

Call:

URL: https://xmlrpc.renderfarm.fi/community.createUserAccount

Method: POST only

Protocol: OAuth v1.0 over XmlRpc formalism, using HMAC-SHA1 for signing the requests

Transport: HTTPS

Handler name: community

Parameters:

Expected parameters are as defined in the protocol:

  • XmlRpcStruct parameters: an associative array with all the authentication parameters
  • String userMail: the mail of the user who requested an account on our service

Exceptions:

CodeReason
100Missing parameters
101Invalid parameters
103Privileges insufficient
104Invalid signature
200Mail format invalid
201Connection problem
202Stream error (succes tag not present)
203Stream error (code tag not present)
204Account couldn't be created
205Account already existing
206Parameters not set correctly
207Permission denied
208Account creation failed for unknown reason
209User name already exists
400Consumer key invalid

 

Returns:

An associative array with the confirmation of creation. Expected attribute is :

  • success = true

 Sample response:

<?xml version="1.0" encoding="utf-16"?>
<methodResponse>
    <params>
        <param>
            <value>
                <struct>
                    <member>
                        <name>success</name>
                        <value>
                            <boolean>1</boolean>
                        </value>
                    </member>
                </struct>
            </value>
        </param>
    </params>