Метод | Описание | |
---|---|---|
ValidateAsync ( AccessTypeEnum type, long loginId, string database, bool noException ) : System.Threading.Tasks.Task |
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 |