TwitterClient.UserAsync(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
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Twitter.Models.UserDetailsModel> UserAsync(string userName, System.Threading.CancellationToken cancellationToken = default);
abstract member UserAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Twitter.Models.UserDetailsModel>
override this.UserAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Twitter.Models.UserDetailsModel>
Public Overridable Function UserAsync (userName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of UserDetailsModel)
Parameters
- userName
- String
User name
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get user response.
Remarks
This operation gets the profile details for a given user, such as user name, description, followers count, and more.