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