UserInfoControllerGetUsersInfo - метод
Gets user information for multiple users with specified identifiers.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
[HttpPostAttribute]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<IList<UserInfo>>> GetUsersInfo(
[FromBodyAttribute] IList<Guid> ids,
[FromQueryAttribute] string? type = null,
CancellationToken cancellationToken = default
)
<HttpPostAttribute>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function GetUsersInfo (
<FromBodyAttribute> ids As IList(Of Guid),
<FromQueryAttribute> Optional type As String = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of IList(Of UserInfo)))
public:
[HttpPostAttribute]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult<IList<UserInfo^>^>^>^ GetUsersInfo(
[FromBodyAttribute] IList<Guid>^ ids,
[FromQueryAttribute] String^ type = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member GetUsersInfo :
[<FromBodyAttribute>] ids : IList<Guid> *
[<FromQueryAttribute>] ?type : string *
?cancellationToken : CancellationToken
(* Defaults:
let _type = defaultArg type null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<IList<UserInfo>>>
- ids IListGuid
- A collection of the user identifiers.
- type String (Optional)
-
Optional user info handler type.
If , the default handler is used.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResultIListUserInfoA collection of user information for users that are found.