UserInfoControllerGetUserInfo - метод

Gets user information for single user with specified identifier.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
[HttpGetAttribute("{id:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<UserInfo>> GetUserInfo(
	[FromRouteAttribute] Guid id,
	[FromQueryAttribute] string? type = null,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
The user identifier.
type  String  (Optional)
Optional user info handler type. If , the default handler is used.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

TaskActionResultUserInfo
User information or user not found by identifier.

См. также