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 [Repository_MyRepository].[AddCollaborator] Login='user', Permission='push'
Input
| Name | Type | Description |
| Login | String | The handle for the user account. |
| Permission | String | 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. |