ISettingsUnitPermissionsProviderCheckAccessAsync - метод

Checks if the current user has access to the specified settings unit.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
ValueTask<bool> CheckAccessAsync(
	SettingsUnitKey key,
	CancellationToken cancellationToken = default
)

Параметры

key  SettingsUnitKey
Key for identifying a settings unit or fragment.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

ValueTaskBoolean
if the user has group access, otherwise .

См. также