Hi Team,
I want to create about 100 accounts for my colleagues on alteryx server, if I create one by one, it will be too troublesome.
So is there any way to batch create multiple accounts at one time? Or is there a better way?
Best regards,
Nova
Hi @nova_r_xu ,
The user accounts are created automatically when the user first access the Gallery. You can define the default role for new users so at least the users will have the correct role when they first login.
Default role: https://help.alteryx.com/current/en/server/administer-alteryx-server/user-and-group-management/user-roles-and-permissions.html#idp426192
If you need to customize the permissions, you can do that by selecting multiple users at once and adding the permissions. Admin > Users
https://help.alteryx.com/current/en/server/administer-alteryx-server/user-and-group-management/user-roles-and-permissions.html#user-roles-and-permissions
Having said that, you can create new users using the Gallery API but it doesn`t work if your authentication method is AD. https://help.alteryx.com/current/en/server/api-overview/alteryx-server-api-v3/server-api-v3-objects/user-endpoints.html#idp434895
You can also add the users to user groups automatically using the Gallery API: https://help.alteryx.com/current/en/server/api-overview/alteryx-server-api-v3/server-api-v3-objects/user-group-endpoints.html#add-users-to-a-user-group
You will need the userID for this one, but you can get it after the user's account is created using this endpoint here. https://help.alteryx.com/current/en/server/api-overview/alteryx-server-api-v3/server-api-v3-objects/user-endpoints.html#idp435045
You can use the server API tool to use the Gallery APIs (it needs to be downloaded): https://help.alteryx.com/current/en/designer/tools/developer/server-api-tool.html
Best,
Fernando Vizcaino