IUserInfoProviderGetUsersInfoAsyncTUserInfo - метод

Retrieves user information for multiple users with specified identifiers.

Definition

Пространство имён: Tessa.Roles.UserInfo
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
Task<IEnumerable<TUserInfo>> GetUsersInfoAsync<TUserInfo>(
	IEnumerable<Guid> userIDs,
	CancellationToken cancellationToken = default
)
where TUserInfo : class, new(), IUserInfo

Параметры

userIDs  IEnumerableGuid
>A collection of the user identifiers.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Параметры типа

TUserInfo
The type of user information to retrieve. Must implement IUserInfo and have a parameterless constructor.

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

TaskIEnumerableTUserInfo
A collection of user information for users that are found.

См. также