Method GetEffectivePermissionViaSql(long, long)
Synchronous twin of for the
thread-pool-free lazy path: same cache, same SQL, executed on the calling thread.
protected virtual UserPermissionResult? GetEffectivePermissionViaSql(long objectId, long userId)