0

user creation through the API

Is it somehow possible to create new Shotgun user with the SG Python API?

Thanks,
Christian 

1 comment

  • 0
    Avatar
    Mason

    Hi Christian, 

    Yes you can create a user through the API:

     >>> sg.create('HumanUser', {'login':'testLogin', 'email':'testUser@testDomain.com', 'firstname':'test', 'lastname':'user'})

    There's one thing to be aware of though: this user will be created with the 'Artist' set of permissions, and the only way to adjust these permissions is through the UI. We're working on a plan to change this in the future, but for now that's the default behaviour. 

    Cheers, 


    Mason. 

Please sign in to leave a comment.