CampfireClient.GetUserAsync(Int32, String, CancellationToken) 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.
Get user by ID
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Campfire.Models.UserResponse> GetUserAsync(int userId, string account, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUserAsync : int * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Campfire.Models.UserResponse>
override this.GetUserAsync : int * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Campfire.Models.UserResponse>
Public Overridable Function GetUserAsync (userId As Integer, account As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of UserResponse)
Parameters
- userId
- Int32
User ID
- account
- String
Account
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get user by ID response.
Remarks
Retrieves information about a user by given ID