AddCollaborator
Adds a user to a repository with a specified permission level, updating existing access if necessary. Enterprise Managed Users are added directly, while others receive an invitation.
Sample
EXECUTE [Information].[AddCollaborator] Login='user', Permission='push'
Input
| Name | Type | Required | Description |
| OwnerLogin | String | False | The owner of the repository. |
| Repository | String | True | The name of the repository. |
| Login | String | True | The handle for the user account. |
| Permission | String | False | The permission to grant the collaborator. |
Result Set Columns
| Name | Type | Description |
| Id | String | The Node ID of the invitation if generated. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |