KrFileAccessHelperCheckAccessAsync - метод
Метод проверяет права доступа к файлу и возвращает результат проверки прав, или null, если проверка прав доступа не требуется.
Пространство имён: Tessa.Extensions.Default.Server.FilesСборка: Tessa.Extensions.Default.Server (в Tessa.Extensions.Default.Server.dll) Версия: 4.0.4
public static Task<KrPermissionsManagerCheckResult> CheckAccessAsync(
CardFileRequestBase request,
ICardExtensionContext context,
Guid cardID,
IKrPermissionsManager permissionsManager,
CancellationToken cancellationToken = default
)
Public Shared Function CheckAccessAsync (
request As CardFileRequestBase,
context As ICardExtensionContext,
cardID As Guid,
permissionsManager As IKrPermissionsManager,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of KrPermissionsManagerCheckResult)
public:
static Task<KrPermissionsManagerCheckResult^>^ CheckAccessAsync(
CardFileRequestBase^ request,
ICardExtensionContext^ context,
Guid cardID,
IKrPermissionsManager^ permissionsManager,
CancellationToken cancellationToken = CancellationToken()
)
static member CheckAccessAsync :
request : CardFileRequestBase *
context : ICardExtensionContext *
cardID : Guid *
permissionsManager : IKrPermissionsManager *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<KrPermissionsManagerCheckResult>
- request CardFileRequestBase
-
- context ICardExtensionContext
-
- cardID Guid
-
- permissionsManager IKrPermissionsManager
-
- cancellationToken CancellationToken (Optional)
-
TaskKrPermissionsManagerCheckResult