Changeset - f2bd5b0c1094
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 14 years ago 2012-01-17 19:51:42
marcin@python-works.com
create user api_doc update
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
docs/api/api.rst
Show inline comments
 
@@ -147,8 +147,8 @@ OUTPUT::
 
create_user
 
-----------
 

	
 
Creates new user in RhodeCode. This command can be executed only using api_key
 
belonging to user with admin rights.
 
Creates new user or updates current one if such user exists. This command can 
 
be executed only using api_key belonging to user with admin rights.
 

	
 
INPUT::
 

	
rhodecode/controllers/api/api.py
Show inline comments
 
@@ -134,7 +134,7 @@ class ApiController(JSONRPCController):
 
    def create_user(self, apiuser, username, password, firstname,
 
                    lastname, email, active=True, admin=False, ldap_dn=None):
 
        """
 
        Create new user
 
        Create new user or updates current one
 

	
 
        :param apiuser:
 
        :param username:
0 comments (0 inline, 0 general)