C# Класс Frapid.DbPolicy.DbAccess

Наследование: IDbAccess
Показать файл Открыть проект

Открытые методы

Метод Описание
ValidateAsync ( AccessTypeEnum type, long loginId, string database, bool noException ) : System.Threading.Tasks.Task

Validates application user access rights to execute the function.

Описание методов

ValidateAsync() публичный Метод

Validates application user access rights to execute the function.
public ValidateAsync ( AccessTypeEnum type, long loginId, string database, bool noException ) : System.Threading.Tasks.Task
type AccessTypeEnum The access type being validated.
loginId long The login ID of application user making the request.
database string The name of the database on which policy is being validated on.
noException bool /// If this is switched off, UnauthorizedException is not thrown even when the caller does not /// have access rights to this function. ///
Результат System.Threading.Tasks.Task