GitHubClient.CheckCollaboratorAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Check if a user is a repository collaborator
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.GitHub.Models.GeneralAPIModel> CheckCollaboratorAsync(string repositoryOwner, string repositoryName, string userName, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckCollaboratorAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.GitHub.Models.GeneralAPIModel>
override this.CheckCollaboratorAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.GitHub.Models.GeneralAPIModel>
Public Overridable Function CheckCollaboratorAsync (repositoryOwner As String, repositoryName As String, userName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GeneralAPIModel)
Parameters
- repositoryOwner
- String
Repository Owner
- repositoryName
- String
Repository Name
- userName
- String
user Name
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Check if a user is a repository collaborator response.
Remarks
Check if a user is a repository collaborator.