Table of Contents

Interface IUsersClient

Namespace
YandexTracker.Endpoints
Assembly
YandexTracker.dll

The organization's users.

public interface IUsersClient

Methods

GetAllAsync(CancellationToken)

Lists every user of the organization, page by page.

IAsyncEnumerable<User> GetAllAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the listing.

Returns

IAsyncEnumerable<User>

The users.

GetAsync(string, CancellationToken)

Gets a user by uid or login.

Task<User> GetAsync(string idOrLogin, CancellationToken cancellationToken = default)

Parameters

idOrLogin string

The user's uid or login.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<User>

The user.