forked from g4l4drim/TestLink-API-Python-client
    
        
        - 
                Notifications
    
You must be signed in to change notification settings  - Fork 64
 
Open
Description
implement new 1.9.20-fixed api - createUser, setUserRoleOnProject
related TL Mantis Task
- 8967: [API - XMLRPC] Allow to set a leader on a project using XML-RPC API
 
new api
- createUser, setUserRoleOnProject
 
    /**
     * Create a new user
     *
     * Restricted to site admin
     *
     * @param struct $args
     * @param string $args["devKey"]
     * @param string $args["login"]
     * @param string $args["firstname"]
     * @param string $args["lastname"]
     * @param string $args["email"]
     * @param string $args["password"] - OPTIONAL
     *               
     *
     * @return ID the new user if OK, otherwise error structure
     *
     * @access public
     */
    public function createUser($args) {
    /**
     * Set a role to a user at project level
     *
     * Restricted to users with System Wide Role Admin
     *
     * @param struct $args
     * @param struct $args["userid"]
     * @param struct $args["rolename"]
     * @param struct $args["testprojectid"]
     *
     * @return true if OK, otherwise error structure
     *
     * @access public
     */
    public function setUserRoleOnProject($args)