GetAuthenticatedUserAsync Method
Overloads
| GetAuthenticatedUserAsync() |
Retrieves information about the authenticated user. |
|
| GetAuthenticatedUserAsync(AsyncHandle) |
Retrieves information about the authenticated user. |
|
| GetAuthenticatedUserAsync<T>(AsyncHandle, Func<Response, T>) |
Retrieves information about the authenticated user. |
GetAuthenticatedUserAsync()
Retrieves information about the authenticated user.
Declaration
public Task<string> GetAuthenticatedUserAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.String> |
Implements
GetAuthenticatedUserAsync(AsyncHandle)
Retrieves information about the authenticated user.
Declaration
public Task<string> GetAuthenticatedUserAsync(AsyncHandle asyncHandle)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.String> |
Implements
GetAuthenticatedUserAsync<T>(AsyncHandle, Func<Response, T>)
Retrieves information about the authenticated user.
Declaration
public Task<T> GetAuthenticatedUserAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |