thanks for the info much apritiated,
would be great to know the command to create a person , with name, email , and user privilage
as in sg.create(‘Asset’) , is it sg.create(‘HumanUser’), and what would go in the data ,
since this person data , is located in a separate page called people ,
how would i add this data , to the person data using the api,
any pointers would be helpful
Users are entities, the same way shots, takes, assets, etc. are entities. Everything is created/updated/deleted in a similar fashion with the create/update/delete method. Users are no different or special.
Entities will have specific constraints (e.g. for a HumanUser, you need to specify an email, first name and last name and such).
If there is anything missing, the error message should be verbose enough for you to deduce what is missing or what is wrong.
As for sample code, just search in the forums. You will surely find snippets of sample code.
thx for the pointers , everything is working with the legacy login,
ecxept , unable to create the user , complains about HumanUser type, which i take to be the entityType, maybe i am passing the wrong entityType ?
just tried the same , creating a single user,
now it complains about not authenticated, although i have set up the legacy token and passphrase,
just to clarify,
is the login , the same as login name when signing into shotgrid
and the password is it the password signing into shotgrid or the legacy token passphrase/password